diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-09 08:46:17 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-09 08:46:17 +0100 |
| commit | acfebdfb9aec89a3c0914be8e9b0439a10120d5c (patch) | |
| tree | 339a3d32cc03325b9557f0372d1f34c5ab328baf | |
| parent | 5485b686c698f0de4a980686682f0b29f2cf9ecb (diff) | |
HCoreLdr: Fix compiler errors.
| -rw-r--r-- | Private/NewBoot/BootKit/Arch/AHCI.hxx | 10 | ||||
| -rw-r--r-- | Private/NewBoot/Source/BootMain.cxx | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/Private/NewBoot/BootKit/Arch/AHCI.hxx b/Private/NewBoot/BootKit/Arch/AHCI.hxx index 1f36ca00..32fe033c 100644 --- a/Private/NewBoot/BootKit/Arch/AHCI.hxx +++ b/Private/NewBoot/BootKit/Arch/AHCI.hxx @@ -20,17 +20,17 @@ class BDeviceAHCI final { HCORE_COPY_DEFAULT(BDeviceAHCI); struct AHCITraits final { - SizeT mBase{1024}; - Boolean mErr{false}; - Boolean mDetected{false}; + HCore::SizeT mBase{1024}; + HCore::Boolean mErr{false}; + HCore::Boolean mDetected{false}; operator bool() { return !mErr; } }; operator bool() { return Leak().mDetected; } - BDeviceAHCI& Read(WideChar* Buf, const SizeT& SecCount); - BDeviceAHCI& Write(WideChar* Buf, const SizeT& SecCount); + BDeviceAHCI& Read(HCore::WideChar* Buf, const HCore::SizeT& SecCount); + BDeviceAHCI& Write(HCore::WideChar* Buf, const HCore::SizeT& SecCount); AHCITraits& Leak(); diff --git a/Private/NewBoot/Source/BootMain.cxx b/Private/NewBoot/Source/BootMain.cxx index 67c6929a..fb516293 100644 --- a/Private/NewBoot/Source/BootMain.cxx +++ b/Private/NewBoot/Source/BootMain.cxx @@ -106,7 +106,7 @@ EFI_EXTERN_C EFI_API Int EfiMain(EfiHandlePtr ImageHandle, reinterpret_cast<DosHeaderPtr>(blob)->eLfanew + ptrHdr->mSizeOfOptionalHeader + (sizeof(ExecHeader) + - sizeof(ExecOptionalHeader) + sizeof(U32))); + sizeof(ExecOptionalHeader) + sizeof(UInt32))); while (blobKrnl->mCharacteristics != 0x00000020) { blobKrnl = blobKrnl + sizeof(ExecSectionHeader); |
