handle panic now triggers a panic
This commit is contained in:
@@ -68,7 +68,9 @@ enum PAGE_FAULT_ERROR {
|
||||
void handle_keyboard() {}
|
||||
|
||||
[[gnu::interrupt]] void handle_panic(InterruptContext *context) {
|
||||
(void)context;
|
||||
DBG << "Generic KernelPanic triggered"<< endl;
|
||||
printContext(context);
|
||||
kernelpanic("Generic Panic Triggerd");
|
||||
}
|
||||
|
||||
[[gnu::interrupt]] void handle_timer(InterruptContext *context) {
|
||||
|
||||
@@ -82,7 +82,7 @@ void handle_keyboard();
|
||||
|
||||
/*! \brief handle_panic
|
||||
*
|
||||
* \todo(12) Trigger a kernel panic
|
||||
* \todo Trigger a kernel panic
|
||||
*/
|
||||
[[gnu::interrupt]] void handle_panic(InterruptContext *context);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user