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

Functions used to manage kernel panic. More...

Macros

#define SHUTDOWN_PORT   0x604
 Shutdown port for qemu.
 

Functions

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

Variables

int runtests
 Flag indicating if we are running tests instead of an interactive session.
 

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.