SyterKit 0.4.0.x
SyterKit is a bare-metal framework
Loading...
Searching...
No Matches
sys-gic.h
Go to the documentation of this file.
1/* SPDX-License-Identifier: GPL-2.0+ */
2
3#ifndef _SYS_GIC_H_
4#define _SYS_GIC_H_
5
6#include <io.h>
7#include <stdarg.h>
8#include <stdbool.h>
9#include <stddef.h>
10#include <stdint.h>
11#include <types.h>
12
13#include <common.h>
14#include <log.h>
15
16#include <sys-intc.h>
17
18#include <reg-ncat.h>
19#include <reg-gic.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif// __cplusplus
24
30void do_irq(struct arm_regs_t *regs);
31
37int arch_interrupt_init(void);
38
44int arch_interrupt_exit(void);
45
53
60
61#ifdef __cplusplus
62}
63#endif// __cplusplus
64
65#endif// _SYS_GIC_H_
ARM32 register structure.
Definition mmu.h:28
int arch_interrupt_exit(void)
Exits the interrupt mechanism.
Definition sys-clic.c:219
int arch_interrupt_init(void)
Initializes the interrupt mechanism.
Definition sys-clic.c:212
int sunxi_gic_cpu_interface_exit(void)
Exits the Sunxi GIC CPU interface.
Definition sys-gic.c:167
int sunxi_gic_cpu_interface_init(int cpu)
Initializes the Sunxi GIC CPU interface.
Definition sys-gic.c:162
void do_irq(struct arm_regs_t *regs)
Handles the IRQ with ARM registers.
Definition sys-gic.c:172