Moved ISRs and multiboot2 code to separate files
This commit is contained in:
37
src/x86/isr.c
Normal file
37
src/x86/isr.c
Normal file
@@ -0,0 +1,37 @@
|
||||
#include "isr.h"
|
||||
|
||||
__attribute__ ((interrupt))
|
||||
void genericISR(void* frame)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
__attribute__ ((interrupt))
|
||||
void divisionByZero(void* frame)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
__attribute__ ((interrupt))
|
||||
void gpFaultHandler(void* frame, unsigned int error)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
__attribute__ ((interrupt))
|
||||
void pageFaultHandler(void* frame, unsigned int error)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
__attribute__ ((interrupt))
|
||||
void doubleFaultHandler(void* frame, unsigned int error)
|
||||
{
|
||||
asm("hlt");
|
||||
}
|
||||
|
||||
__attribute__ ((interrupt))
|
||||
void syscallHandler(void* frame)
|
||||
{
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user