diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-30 08:46:09 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-30 08:46:09 +0100 |
| commit | d7112cd6909640afd7609b3a142bc6ecf921ee25 (patch) | |
| tree | 55033ad28d58d536c4b3bad715d8635f00773bfd /Private/NewBoot | |
| parent | f22e69b8837b84548f79e0b8ca7bef24605c6611 (diff) | |
Kernel: Breaking changes, see source code.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/NewBoot')
| -rw-r--r-- | Private/NewBoot/BootKit/Boot.hxx | 6 | ||||
| -rw-r--r-- | Private/NewBoot/BootKit/Protocol.hxx | 4 | ||||
| -rw-r--r-- | Private/NewBoot/Source/HEL/AMD64/Boot.cxx | 8 |
3 files changed, 9 insertions, 9 deletions
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 <NewKit/Defines.hpp> -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 <BootKit/Boot.hxx> -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; |
