diff options
author | Andreas Kling <awesomekling@gmail.com> | 2018-10-22 13:20:35 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2018-10-22 13:20:35 +0200 |
commit | bae59609e3a71c046c9bf4095b81d7ea825d1729 (patch) | |
tree | 4f92fd8053ecd890f7d82ec7340ec53f5df4477a /Kernel/kassert.h | |
parent | 702d308e67b369fbbfb863442df23a328b6055a3 (diff) | |
download | serenity-bae59609e3a71c046c9bf4095b81d7ea825d1729.zip |
Move kprintf to its own file. It has nothing to do with VGA anymore.
Diffstat (limited to 'Kernel/kassert.h')
-rw-r--r-- | Kernel/kassert.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Kernel/kassert.h b/Kernel/kassert.h index 621aa9f4ec..5196f14df7 100644 --- a/Kernel/kassert.h +++ b/Kernel/kassert.h @@ -1,6 +1,6 @@ #pragma once -#include "VGA.h" +#include "kprintf.h" #define CRASH() do { asm volatile("ud2"); } while(0) #define ASSERT(x) do { if (!(x)) { kprintf("ASSERTION FAILED: " #x "\n%s:%u in %s\n", __FILE__, __LINE__, __PRETTY_FUNCTION__); CRASH(); } } while(0) |