LumaOS  v0.1.116
An experimental x86-64 OS
Loading...
Searching...
No Matches
panic.h
Go to the documentation of this file.
1
9#ifndef KERNEL_KERNEL_PANIC_H
10#define KERNEL_KERNEL_PANIC_H
11
12#include <kernel/vars.h>
13#include <lib/kstring.h>
14#include <kernel/kprintf.h>
15
17#define PANIC(...) panic_at(__FILE__, __LINE__, __func__, __VA_ARGS__)
18
26__attribute__((noreturn)) void panic_at(const char *file, int line_int, const char *func, ...);
27
28#endif
Tools for printing to the console and serial output.
Utilities for memory and string operations.
__attribute__((noreturn)) void panic_at(const char *file
Prints information about a kernel panic.
Kernel wide variables.