90682f6454ac593877cd7accca24aa932a8d566f
[tpg/acess2.git] / Modules / armv7 / GIC / gic.c
1 /*
2  * ARMv7 GIC Support
3  * - By John Hodge (thePowersGang)
4  * 
5  * gic.c
6  * - GIC Core
7  */
8 #include <acess.h>
9 #include <modules.h>
10
11 // === PROTOTYPES ===
12  int    GIC_Install(char **Arguments);
13
14 // === GLOBALS ===
15 MODULE_DEFINE(0, 0x100, armv7_GIC, GIC_Install, NULL, NULL);
16
17 // === CODE ===
18 int GIC_Install(char **Arguments)
19 {
20         return MODULE_ERR_OK;
21 }
22
23 int IRQ_AddHandler(int IRQ, void (*Handler)(int, void*), void *Ptr)
24 {
25         Log_Warning("GIC", "TODO: Implement IRQ_AddHandler");
26         return 0;
27 }
28

UCC git Repository :: git.ucc.asn.au