Kernel: Add SMP message StackTrace

This event is sent when user presses ctrl+{F1-F12} and it will dump the
corresponding processor's stack trace. This is really helpful for
detecting deadlocks in the system
This commit is contained in:
2025-06-02 11:22:57 +03:00
parent c5b0d0235f
commit 7a645b8555
3 changed files with 37 additions and 1 deletions

View File

@@ -33,6 +33,7 @@ namespace Kernel
FlushTLB,
NewThread,
UnblockThread,
StackTrace,
};
SMPMessage* next { nullptr };
Type type;
@@ -45,6 +46,7 @@ namespace Kernel
} flush_tlb;
SchedulerQueue::Node* new_thread;
SchedulerQueue::Node* unblock_thread;
bool dummy;
};
};