feat(kernel): add vectors.S and Exceptions.h/c as a stub for future exceptions handling
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#include <Arch/Exceptions.h>
|
||||
#include <Arch/CPU.h>
|
||||
#include <IO/IOSerial.h>
|
||||
|
||||
void ExceptionsHandler(ExceptionsContext* context, ExceptionsType type) {
|
||||
IOSerialPutString("Exception occurred");
|
||||
while (1) {
|
||||
CPUWaitForInterrupt();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user