From 3feb5cb72e3e422e804098e2fdcb0bd3e7961627 Mon Sep 17 00:00:00 2001 From: Amlal EL Mahrouss Date: Sun, 28 Jul 2024 06:15:54 +0200 Subject: [FIX] Kernel\Sources\GUIDWizard.cxx: Fixed and implemented cf_make_sequence correctly. [REFACTOR] Kernel\Sources\PEFSharedObject.cxx Replace rt_library_free with rt_library_fini. [REFACTOR] SimpleHAL\Main.c: Replace SampleDriver with SampleHAL. Signed-off-by: Amlal EL Mahrouss --- Kernel/HALKit/AMD64/HalDebugOutput.cxx | 4 ++-- Kernel/HALKit/POWER/HalSerialPort.cxx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'Kernel/HALKit') diff --git a/Kernel/HALKit/AMD64/HalDebugOutput.cxx b/Kernel/HALKit/AMD64/HalDebugOutput.cxx index c652aa80..9e3dfcd8 100644 --- a/Kernel/HALKit/AMD64/HalDebugOutput.cxx +++ b/Kernel/HALKit/AMD64/HalDebugOutput.cxx @@ -74,10 +74,10 @@ namespace Kernel Detail::kState = kStateTransmit; SizeT index = 0; - SizeT len = rt_string_len(bytes, 256); + SizeT len = rt_string_len(bytes, 0); const auto cColor = "\x1b[1;32m"; - SizeT lenClr = rt_string_len(cColor, 256); + SizeT lenClr = rt_string_len(cColor, 0); while (index < lenClr) { diff --git a/Kernel/HALKit/POWER/HalSerialPort.cxx b/Kernel/HALKit/POWER/HalSerialPort.cxx index 70197256..3c62824b 100644 --- a/Kernel/HALKit/POWER/HalSerialPort.cxx +++ b/Kernel/HALKit/POWER/HalSerialPort.cxx @@ -17,7 +17,7 @@ void ke_io_write(const Char* bytes) return; SizeT index = 0; - SizeT len = rt_string_len(bytes, 256); + SizeT len = rt_string_len(bytes, 0); while (index < len) { -- cgit v1.2.3