summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/HALKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-02-10 15:31:49 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-02-10 15:31:49 +0100
commitd07077d0cfb36f5b3df5a8ab38ac5c8ff32a1d3d (patch)
treecaac00a4825ce10110d618f056c1a29043503b20 /dev/Kernel/HALKit
parenta79800fbb7a8c28b116df226b5e1032dd93365fd (diff)
ADD TWEAKS TO KERNEL.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Kernel/HALKit')
-rw-r--r--dev/Kernel/HALKit/AMD64/HalDebugOutput.cc17
1 files changed, 15 insertions, 2 deletions
diff --git a/dev/Kernel/HALKit/AMD64/HalDebugOutput.cc b/dev/Kernel/HALKit/AMD64/HalDebugOutput.cc
index d984e087..cb8aef59 100644
--- a/dev/Kernel/HALKit/AMD64/HalDebugOutput.cc
+++ b/dev/Kernel/HALKit/AMD64/HalDebugOutput.cc
@@ -83,7 +83,8 @@ namespace Kernel
len = rt_string_len(bytes, 255);
static int x = kFontSizeX, y = kFontSizeY;
- auto log_txt = RGB(0xff, 0xff, 0xff);
+
+ static BOOL not_important = NO;
while (index < len)
{
@@ -96,7 +97,19 @@ namespace Kernel
tmp_str[0] = bytes[index];
tmp_str[1] = 0;
- fb_render_string(tmp_str, y, x, log_txt);
+ if (bytes[index] == '*')
+ {
+ if (not_important)
+ not_important = NO;
+ else
+ not_important = YES;
+
+ ++index;
+
+ continue;
+ }
+
+ fb_render_string(tmp_str, y, x, not_important ? RGB(0xff, 0xff, 0xff) : RGB(0x00, 0x00, 0xff));
if (bytes[index] == '\r')
{