mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-05 04:19:19 +00:00
implemented interrupts handler & stub crash screen
This commit is contained in:
@ -5,21 +5,8 @@
|
||||
|
||||
#include "gdt.hpp"
|
||||
|
||||
// TODO: IMPLEMENT "MainInterruptHandler"
|
||||
extern "C" void MainInterruptHandler(void *Data)
|
||||
{
|
||||
debug("Interrupt: %p", Data);
|
||||
asmv("cli");
|
||||
asmv("hlt");
|
||||
}
|
||||
|
||||
// TODO: IMPLEMENT "ExceptionHandler"
|
||||
extern "C" void ExceptionHandler(void *Data)
|
||||
{
|
||||
debug("Exception: %p", Data);
|
||||
asmv("cli");
|
||||
asmv("hlt");
|
||||
}
|
||||
extern "C" void MainInterruptHandler(void *Data);
|
||||
extern "C" void ExceptionHandler(void *Data);
|
||||
|
||||
namespace InterruptDescriptorTable
|
||||
{
|
||||
|
Reference in New Issue
Block a user