mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:57:45 +00:00
Kernel: Add a PANIC() function
Let's be a little more expressive when inducing a kernel panic. :^) PANIC(...) passes any arguments you give it to dmesgln(), then prints a backtrace and hangs the machine.
This commit is contained in:
parent
ca35776e78
commit
c598a95b1c
3 changed files with 82 additions and 0 deletions
|
@ -101,6 +101,7 @@ set(KERNEL_SOURCES
|
|||
PCI/IOAccess.cpp
|
||||
PCI/Initializer.cpp
|
||||
PCI/MMIOAccess.cpp
|
||||
Panic.cpp
|
||||
PerformanceEventBuffer.cpp
|
||||
Process.cpp
|
||||
ProcessGroup.cpp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue