MentOS  0.8.0
The Mentoring Operating System
Macros | Functions
panic.h File Reference

Functions used to manage kernel panic. More...

Go to the source code of this file.

Macros

#define TODO(msg)   kernel_panic(#msg);
 Sends a kernel panic with the given message.
 

Functions

void kernel_panic (const char *msg)
 Prints the given message and safely stop the execution of the kernel. More...
 

Detailed Description

Functions used to manage kernel panic.

Function Documentation

◆ kernel_panic()

void kernel_panic ( const char *  msg)

Prints the given message and safely stop the execution of the kernel.

Parameters
msgThe message that has to be shown.