summaryrefslogtreecommitdiff
path: root/src/kernel/panic.h
blob: 6a8609f9479f05650f07f1cb25202b31fe1db979 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#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