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