Espresso 0.0.0f
This commit is contained in:
@ -1,9 +1,24 @@
|
||||
|
||||
#include <stdio.h>
|
||||
#include <drivers/ps2_keyboard.h>
|
||||
|
||||
#include <drivers/irq.h>
|
||||
|
||||
static void pit_handler(void)
|
||||
{
|
||||
}
|
||||
|
||||
void irq_handler(uint8_t irq_number)
|
||||
{
|
||||
|
||||
switch (irq_number)
|
||||
{
|
||||
case 0:
|
||||
pit_handler();
|
||||
break;
|
||||
case 1:
|
||||
keyboard_handler();
|
||||
break;
|
||||
default:
|
||||
printf("Unhandled IRQ %u\n", irq_number);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user