Espresso 0.0.0f

This commit is contained in:
2025-06-13 19:53:54 -05:00
parent 1e5b4a765b
commit eeea3b2d86
7 changed files with 174 additions and 16 deletions

View File

@ -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;
}
}