This repository has been archived on 2023-09-28. You can view files and clone it, but cannot push or open issues or pull requests.
homepage/content/projects/noxos/docs/codebase/utils/panic.h.md

10 lines
274 B
Markdown
Raw Normal View History

---
title: "panic.h"
summary: "ahhhh - the kernel is burning"
---
# `panic(state, message)` - function (void)
This prints out the error message, a stack backtrace and a register dump.
After that, the kernel halts forever.
This function is called, when a fatal error occurs