diff options
| author | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-07-28 06:15:54 +0200 |
|---|---|---|
| committer | Amlal EL Mahrouss <amlalelmahrouss@icloud.com> | 2024-07-28 06:15:54 +0200 |
| commit | 3feb5cb72e3e422e804098e2fdcb0bd3e7961627 (patch) | |
| tree | 26c65a3b0cd1a2eb9f6cb5683778a703afcd38e5 /Kernel/HALKit | |
| parent | 8fdf00bfb70b111b49de003a46940c9ee8187295 (diff) | |
[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 <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Kernel/HALKit')
| -rw-r--r-- | Kernel/HALKit/AMD64/HalDebugOutput.cxx | 4 | ||||
| -rw-r--r-- | Kernel/HALKit/POWER/HalSerialPort.cxx | 2 |
2 files changed, 3 insertions, 3 deletions
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) { |
