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 for unsalvageable errors, panic can be used to display an error message to the screen and halt the cpu.
 

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 for unsalvageable errors, panic can be used to display an error message to the screen and halt the cpu.

Parameters
msgerror message to show on screen