LumaOS
v0.1.116
An experimental x86-64 OS
Theme:
Default
Round
Robot
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
kprintf.h
Tools for printing to the console and serial output.
kstring.h
Utilities for memory and string operations.
__attribute__
__attribute__((noreturn)) void panic_at(const char *file
Prints information about a kernel panic.
vars.h
Kernel wide variables.
kernel
src
include
kernel
panic.h
Generated by
1.15.0