![]() |
Xyris
0.5
|
#include <Devices/Graphics/console.hpp>#include <Devices/Graphics/framebuffer.hpp>#include <Devices/Graphics/graphics.hpp>#include <Devices/Serial/rs232.hpp>#include <Library/stdio.hpp>#include <Panic.hpp>#include <Stacktrace.hpp>#include <Scheduler/tasks.hpp>#include <x86gprintrin.h>
Include dependency graph for Panic.cpp:Go to the source code of this file.
Macros | |
| #define | PANIC_MAX_TRACE 64 |
| #define | PANIC_MOO_BUF_SZ 256 |
| #define | PANIC_MSG_BUF_SZ 256 |
| #define | PANIC_REG_BUG_SZ 512 |
| #define | PANIC_COLOR_FORE 0xFFFFFF |
| #define | PANIC_COLOR_BACK 0x2D2D2D |
| #define | PANIC_REG_DUMP_MSG "Kernel exception - Dumping register state..." |
Functions | |
| void | panic (const char *msg) |
| void | panicf (const char *fmt,...) |
| void | panic (struct registers *registers) |
Variables | |
| const char * | funnyMessagesForMoo [] |
| const size_t | funnyMessagesForMooSize = sizeof(funnyMessagesForMoo) / sizeof(funnyMessagesForMoo[0]) |
Early CGA-mode panic (no framebuffer)
Definition in file Panic.cpp.
| #define PANIC_REG_DUMP_MSG "Kernel exception - Dumping register state..." |
| void panic | ( | const char * | msg | ) |
| void panic | ( | struct registers * | registers | ) |
Halt the system and print information about the provided register dump.
| registers | Architecture register structure |
| void panicf | ( | const char * | fmt, |
| ... | |||
| ) |
| const char* funnyMessagesForMoo[] |
| const size_t funnyMessagesForMooSize = sizeof(funnyMessagesForMoo) / sizeof(funnyMessagesForMoo[0]) |