From 2eb529e37a5e10ea2483fce04de778ac13be6f1d Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 14 Feb 2024 09:38:17 +0100 Subject: HCR-18: Fixed UEFI bootloader, loading stuff correctly. Signed-off-by: Amlal El Mahrouss --- Private/HALKit/PowerPC/HalHardware.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Private/HALKit/PowerPC') diff --git a/Private/HALKit/PowerPC/HalHardware.cxx b/Private/HALKit/PowerPC/HalHardware.cxx index 89b1a6ae..a5f11449 100644 --- a/Private/HALKit/PowerPC/HalHardware.cxx +++ b/Private/HALKit/PowerPC/HalHardware.cxx @@ -13,7 +13,7 @@ extern "C" void flush_tlb() {} extern "C" void rt_wait_for_io() {} -extern "C" HCore::HAL::StackFrame* rt_get_current_context() {} +extern "C" HCore::HAL::StackFrame* rt_get_current_context() { return nullptr; } namespace HCore { namespace HAL { @@ -37,7 +37,7 @@ void ke_com_print(const Char* bytes) { if (!bytes) return; SizeT index = 0; - SizeT len = string_length(bytes, 256); + SizeT len = rt_string_len(bytes, 256); while (index < len) { // TODO -- cgit v1.2.3