added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / arch / x86_64-pc / irq.hidd / irq_init.c
blob050d11bd19782b8f259abc8420df5408f19521c4
1 #define DEBUG 0
3 #include <inttypes.h>
4 #include <aros/debug.h>
5 #include <aros/symbolsets.h>
7 #include <proto/exec.h>
8 #include <proto/kernel.h>
10 #include "irq.h"
11 #include LC_LIBDEFS_FILE
13 static int Irq_Init(LIBBASETYPEPTR LIBBASE)
15 int i;
16 struct irq_staticdata *isd = &LIBBASE->isd;
18 D(bug("[IRQ] IRQ: Initializing\n"));
20 /* Initialize IRQ lists */
21 for (i = 0; i < 16; i++)
23 NEWLIST(&isd->irqlist[i]);
26 Disable();
27 //init_Servers(isd); /* Initialize all known IRQ servers */
28 Enable(); /* Turn interrupts on */
30 D(bug("[IRQ] Init OK\n"));
31 return TRUE;
34 ADD2INITLIB(Irq_Init, 0)