From 0d931fe17b32cc5082f1180138dbb7bd6416dd14 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 17 Nov 2025 09:19:52 +0100 Subject: tools: feat: new syntax for function. Signed-off-by: Amlal El Mahrouss --- dev/kernel/HALKit/AMD64/HalDebugOutput.cc | 8 ++++---- dev/kernel/HALKit/AMD64/HalKernelMain.cc | 2 +- dev/kernel/HALKit/ARM64/HalKernelMain.cc | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'dev/kernel/HALKit') diff --git a/dev/kernel/HALKit/AMD64/HalDebugOutput.cc b/dev/kernel/HALKit/AMD64/HalDebugOutput.cc index 789c1067..aa3f284f 100644 --- a/dev/kernel/HALKit/AMD64/HalDebugOutput.cc +++ b/dev/kernel/HALKit/AMD64/HalDebugOutput.cc @@ -90,7 +90,7 @@ EXTERN_C void ke_utf_io_write(DeviceInterface* obj, const Utf8C tmp_str[0] = (bytes[index] > 127) ? '?' : bytes[index]; tmp_str[1] = 0; - fb_render_string(tmp_str, kY, kX, RGB(0xff, 0xff, 0xff)); + cg_render_string(tmp_str, kY, kX, RGB(0xff, 0xff, 0xff)); if (bytes[index] == '\r') { kY += kFontSizeY; @@ -106,7 +106,7 @@ EXTERN_C void ke_utf_io_write(DeviceInterface* obj, const Utf8C if (kY > kHandoverHeader->f_GOP.f_Height) { kY = kFontSizeY; - FBDrawInRegion(fb_get_clear_clr(), FB::FBAccessibilty::Height(), FB::FBAccessibilty::Width(), + FBDrawInRegion(cg_get_clear_clr(), FB::CGAccessibilty::Height(), FB::CGAccessibilty::Width(), 0, 0); } @@ -146,7 +146,7 @@ EXTERN_C void ke_io_write(DeviceInterface* obj, const Char* bytes) tmp_str[0] = bytes[index]; tmp_str[1] = 0; - fb_render_string(tmp_str, kY, kX, RGB(0xff, 0xff, 0xff)); + cg_render_string(tmp_str, kY, kX, RGB(0xff, 0xff, 0xff)); if (bytes[index] == '\r') { kY += kFontSizeY; @@ -162,7 +162,7 @@ EXTERN_C void ke_io_write(DeviceInterface* obj, const Char* bytes) if (kY > kHandoverHeader->f_GOP.f_Height) { kY = kFontSizeY; - FBDrawInRegion(fb_get_clear_clr(), FB::FBAccessibilty::Height(), FB::FBAccessibilty::Width(), + FBDrawInRegion(cg_get_clear_clr(), FB::CGAccessibilty::Height(), FB::CGAccessibilty::Width(), 0, 0); } diff --git a/dev/kernel/HALKit/AMD64/HalKernelMain.cc b/dev/kernel/HALKit/AMD64/HalKernelMain.cc index e67501cc..2339f56d 100644 --- a/dev/kernel/HALKit/AMD64/HalKernelMain.cc +++ b/dev/kernel/HALKit/AMD64/HalKernelMain.cc @@ -118,7 +118,7 @@ EXTERN_C Int32 hal_init_platform(Kernel::HEL::BootInfoHeader* handover_hdr) { kGDTArray[4].fFlags = 0; kGDTArray[4].fBaseHigh = 0; - FB::fb_clear_video(); + FB::cg_clear_video(); // Load memory descriptors. HAL::Register64 gdt_reg; diff --git a/dev/kernel/HALKit/ARM64/HalKernelMain.cc b/dev/kernel/HALKit/ARM64/HalKernelMain.cc index b711b833..ad516539 100644 --- a/dev/kernel/HALKit/ARM64/HalKernelMain.cc +++ b/dev/kernel/HALKit/ARM64/HalKernelMain.cc @@ -42,7 +42,7 @@ EXTERN_C void hal_init_platform(Kernel::HEL::BootInfoHeader* handover_hdr) { handover_hdr->f_HardwareTables.f_ImageHandle); #endif - FB::fb_clear_video(); + FB::cg_clear_video(); /************************************** */ /* INITIALIZE BIT MAP. */ -- cgit v1.2.3