Xyris
0.5
EarlyPanic.hpp
Go to the documentation of this file.
1
/**
2
* @file EarlyPanic.hpp
3
* @author Keeton Feavel (
[email protected]
)
4
* @brief Early CGA-mode panic (no framebuffer)
5
* @version 0.1
6
* @date 2021-12-16
7
*
8
* @copyright Copyright the Xyris Contributors (c) 2021
9
*
10
*/
11
#pragma once
12
#ifdef __cplusplus
13
extern
"C"
{
14
#endif
15
16
/**
17
* @brief Prints a panic message to the screen (in CGA-mode only)
18
* and stops CPU execution.
19
*
20
*/
21
__attribute__
((noreturn))
22
void
EarlyPanic(
const
char
*str);
23
24
#ifdef __cplusplus
25
}
26
#endif
__attribute__
__attribute__((noreturn)) void EarlyPanic(const char *str)
Prints a panic message to the screen (in CGA-mode only) and stops CPU execution.
Kernel
Arch
i686
Bootloader
EarlyPanic.hpp
Generated by
1.8.17