🆕 kprint 增加kBUG

This commit is contained in:
fslongjin 2022-02-23 11:46:25 +08:00
parent ad51f8b6ea
commit d06b418642

View File

@ -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);