This commit is contained in:
nub31
2025-09-03 14:55:45 +02:00
parent a1205703f0
commit 33239034a7
16 changed files with 310 additions and 303 deletions

View File

@@ -0,0 +1,13 @@
#pragma once
#include "isr.h"
#include <stdbool.h>
typedef void (*irq_handler_t)(const isr_frame_t*);
void remap_pic();
void disable_pic();
bool cpu_has_apic();
void enable_apic();
void handle_irq(const isr_frame_t* frame);
void register_irq_handler(uint8_t irq, irq_handler_t handler);