mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-09 07:06:47 +00:00
🆕 kprint 增加kBUG
This commit is contained in:
parent
ad51f8b6ea
commit
d06b418642
@ -57,3 +57,12 @@
|
|||||||
printk("\n"); \
|
printk("\n"); \
|
||||||
} while (0);
|
} while (0);
|
||||||
|
|
||||||
|
#define kBUG(...) \
|
||||||
|
do \
|
||||||
|
{ \
|
||||||
|
printk("[ "); \
|
||||||
|
printk_color(RED, BLACK, "BUG"); \
|
||||||
|
printk(" ] "); \
|
||||||
|
printk(__VA_ARGS__); \
|
||||||
|
printk("\n"); \
|
||||||
|
} while (0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user