mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-25 22:14:37 +00:00
15 lines
280 B
C
15 lines
280 B
C
#ifndef __FENNIX_KERNEL_SYSTEM_H__
|
|
#define __FENNIX_KERNEL_SYSTEM_H__
|
|
|
|
#include <types.h>
|
|
#include <cpu.hpp>
|
|
|
|
// TODO: Add actual panic screen
|
|
#define panic(msg) \
|
|
{ \
|
|
error(msg); \
|
|
CPU::Stop(); \
|
|
}
|
|
|
|
#endif // !__FENNIX_KERNEL_SYSTEM_H__
|