From d093a8eea6bfb0ff7e621e9ba3307dae698322aa Mon Sep 17 00:00:00 2001 From: dzwdz Date: Sat, 10 Jul 2021 16:37:45 +0200 Subject: separate the source code from object files; more modular Makefile --- kernel/panic.h | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 kernel/panic.h (limited to 'kernel/panic.h') diff --git a/kernel/panic.h b/kernel/panic.h deleted file mode 100644 index 7d2ea5f..0000000 --- a/kernel/panic.h +++ /dev/null @@ -1,14 +0,0 @@ -#pragma once -#include -#include - -// dumb c shit -#define panic_tostr2(x) #x -#define panic_tostr(x) panic_tostr2(x) - -#define panic() do { \ - tty_const(" PANIC! at the "); \ - tty_const(__func__); \ - tty_const(" (" __FILE__ ":" panic_tostr(__LINE__) ") "); \ - halt_cpu(); \ -} while (0) -- cgit v1.2.3