OurOS 0.1
Operating System built by McGill Students
 
Loading...
Searching...
No Matches
panic.h File Reference

Kernel panic system. More...

Go to the source code of this file.

Functions

void panic (const char *msg)
 Kernel panic function.
 

Detailed Description

Kernel panic system.

Note
Future implementations can restart OS after a given amount of time, rather than halt forever.

Function Documentation

◆ panic()

void panic ( const char *  msg)

Kernel panic function.

Note
For unsalvageable errors, panic can be used to display an error message to the screen and halt the CPU.
Parameters
msgMessage to be displayed.