SyterKit 0.4.0.x
SyterKit is a bare-metal framework
Loading...
Searching...
No Matches
Functions
sys-gic.h File Reference
#include <io.h>
#include <stdarg.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <types.h>
#include <common.h>
#include <log.h>
#include <sys-intc.h>
#include <reg-ncat.h>
#include <reg-gic.h>
Include dependency graph for sys-gic.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void do_irq (struct arm_regs_t *regs)
 Handles the IRQ with ARM registers.
 
int arch_interrupt_init (void)
 Initializes the interrupt mechanism.
 
int arch_interrupt_exit (void)
 Exits the interrupt mechanism.
 
int sunxi_gic_cpu_interface_init (int cpu)
 Initializes the Sunxi GIC CPU interface.
 
int sunxi_gic_cpu_interface_exit (void)
 Exits the Sunxi GIC CPU interface.
 

Function Documentation

◆ arch_interrupt_exit()

int arch_interrupt_exit ( void  )

Exits the interrupt mechanism.

Returns
0 on success, or an error code

◆ arch_interrupt_init()

int arch_interrupt_init ( void  )

Initializes the interrupt mechanism.

Returns
0 on success, or an error code

◆ do_irq()

void do_irq ( struct arm_regs_t regs)

Handles the IRQ with ARM registers.

Parameters
regsPointer to the ARM registers

◆ sunxi_gic_cpu_interface_exit()

int sunxi_gic_cpu_interface_exit ( void  )

Exits the Sunxi GIC CPU interface.

Returns
0 on success, or an error code

◆ sunxi_gic_cpu_interface_init()

int sunxi_gic_cpu_interface_init ( int  cpu)

Initializes the Sunxi GIC CPU interface.

Parameters
cpuCPU identifier
Returns
0 on success, or an error code