From d7112cd6909640afd7609b3a142bc6ecf921ee25 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 30 Jan 2024 08:46:09 +0100 Subject: Kernel: Breaking changes, see source code. Signed-off-by: Amlal El Mahrouss --- Private/NewBoot/BootKit/Boot.hxx | 6 +++--- Private/NewBoot/BootKit/Protocol.hxx | 4 ++-- Private/NewBoot/Source/HEL/AMD64/Boot.cxx | 8 ++++---- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'Private/NewBoot') diff --git a/Private/NewBoot/BootKit/Boot.hxx b/Private/NewBoot/BootKit/Boot.hxx index 4bdc9c84..a6ff15c5 100644 --- a/Private/NewBoot/BootKit/Boot.hxx +++ b/Private/NewBoot/BootKit/Boot.hxx @@ -16,7 +16,7 @@ #include -using namespace hCore; +using namespace HCore; typedef void *PEFImage; @@ -70,8 +70,8 @@ enum { #define BK_START_KERNEL (0x80000000) -hCore::SizeT BStrLen(const char *ptr); -hCore::SizeT BSetMem(char *src, const char byte, const hCore::SizeT len); +HCore::SizeT BStrLen(const char *ptr); +HCore::SizeT BSetMem(char *src, const char byte, const HCore::SizeT len); /***********************************************************************************/ /// Include other APIs. diff --git a/Private/NewBoot/BootKit/Protocol.hxx b/Private/NewBoot/BootKit/Protocol.hxx index 26eef7e7..d9f7836a 100644 --- a/Private/NewBoot/BootKit/Protocol.hxx +++ b/Private/NewBoot/BootKit/Protocol.hxx @@ -18,7 +18,7 @@ #define kBaseHandoverStruct 0x80000000 #define kHandoverStructSz sizeof(HEL::HandoverHeader) -namespace hCore::HEL { +namespace HCore::HEL { /** @brief the kind of executable we're loading. */ @@ -66,4 +66,4 @@ struct HandoverInformationHeader { @brief Handover Jump Proc */ typedef UInt64 (*HandoverProc)(HandoverInformationHeader* pHandover); -} // namespace hCore::HEL +} // namespace HCore::HEL diff --git a/Private/NewBoot/Source/HEL/AMD64/Boot.cxx b/Private/NewBoot/Source/HEL/AMD64/Boot.cxx index 6bf63ffe..b3ff2206 100644 --- a/Private/NewBoot/Source/HEL/AMD64/Boot.cxx +++ b/Private/NewBoot/Source/HEL/AMD64/Boot.cxx @@ -9,9 +9,9 @@ #include -constexpr hCore::UInt32 kVGABaseAddress = 0xb8000; +constexpr HCore::UInt32 kVGABaseAddress = 0xb8000; -hCore::SizeT BStrLen(const char *ptr) { +HCore::SizeT BStrLen(const char *ptr) { long long int cnt = 0; while (*ptr != 0) { @@ -22,8 +22,8 @@ hCore::SizeT BStrLen(const char *ptr) { return cnt; } -hCore::SizeT BSetMem(char *src, const char byte, const hCore::SizeT len) { - hCore::SizeT cnt = 0UL; +HCore::SizeT BSetMem(char *src, const char byte, const HCore::SizeT len) { + HCore::SizeT cnt = 0UL; while (*src != 0) { if (cnt > len) break; -- cgit v1.2.3