summaryrefslogtreecommitdiffhomepage
path: root/Private/HALKit/PowerPC
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-14 09:38:17 +0100
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-14 09:38:17 +0100
commit2eb529e37a5e10ea2483fce04de778ac13be6f1d (patch)
tree5bbdaf533d8f173f3d6d73f9daf46f8008cbc73d /Private/HALKit/PowerPC
parente1b37b42b50e4b72bd49eefa2ff2bcdc16140b5d (diff)
HCR-18: Fixed UEFI bootloader, loading stuff correctly.
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/HALKit/PowerPC')
-rw-r--r--Private/HALKit/PowerPC/HalHardware.cxx4
1 files changed, 2 insertions, 2 deletions
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