Moved interrupt handling to subdir
This commit is contained in:
16
src/interrupts/x86/inthandlers.hpp
Normal file
16
src/interrupts/x86/inthandlers.hpp
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef INTHANDLERS_H
|
||||
#define INTHANDLERS_H
|
||||
|
||||
__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);
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user