1
Fork 0
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:
Andreas Kling 2021-02-14 09:01:52 +01:00
parent ca35776e78
commit c598a95b1c
3 changed files with 82 additions and 0 deletions

View file

@ -101,6 +101,7 @@ set(KERNEL_SOURCES
PCI/IOAccess.cpp
PCI/Initializer.cpp
PCI/MMIOAccess.cpp
Panic.cpp
PerformanceEventBuffer.cpp
Process.cpp
ProcessGroup.cpp