This repository has been archived on 2025-02-27. You can view files and clone it, but cannot push or open issues or pull requests.
portland-os/src/kernel/panic.h

10 lines
No EOL
209 B
C

#ifndef PANIC_H
#define PANIC_H
#include <stdint.h>
#define PANIC(msg) panic(__FILE__, __LINE__, msg)
void panic(const char *filename, uint32_t line, const char *message) __attribute__ ((noreturn));
#endif