mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-27 04:37:22 +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
Notes:
sideshowbarker
2024-07-19 18:45:21 +09:00
Author: https://github.com/awesomekling
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