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