feat(kernel): add vectors.S and Exceptions.h/c as a stub for future exceptions handling

This commit is contained in:
karina
2026-04-23 22:03:18 +04:00
parent 502413b9ab
commit 93bce5a46d
6 changed files with 171 additions and 1 deletions
+10
View File
@@ -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();
}
}