OurOS 0.1
Operating System built by McGill Students
 
Loading...
Searching...
No Matches
panic.c File Reference
#include "panic.h"
#include "console.h"

Functions

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

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.