mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-09 02:46:47 +00:00
增加了ksuccess输出
This commit is contained in:
parent
5197253dde
commit
2d1965fa2d
@ -11,6 +11,16 @@
|
||||
#pragma once
|
||||
#include "printk.h"
|
||||
|
||||
#define ksuccess(...) \
|
||||
do \
|
||||
{ \
|
||||
printk("[ "); \
|
||||
printk_color(GREEN, BLACK, "SUCCESS"); \
|
||||
printk(" ] "); \
|
||||
printk(__VA_ARGS__); \
|
||||
printk("\n"); \
|
||||
} while (0);
|
||||
|
||||
#define kinfo(...) \
|
||||
do \
|
||||
{ \
|
||||
|
Loading…
x
Reference in New Issue
Block a user