diff --git a/kernel/common/kprint.h b/kernel/common/kprint.h index c49306ce..da9c0a9f 100644 --- a/kernel/common/kprint.h +++ b/kernel/common/kprint.h @@ -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 \ { \