mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 20:17:44 +00:00
Move kprintf to its own file. It has nothing to do with VGA anymore.
This commit is contained in:
parent
702d308e67
commit
bae59609e3
7 changed files with 188 additions and 187 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue