From a4d4de6913fb7dd54847b0e5a004c3100bc02459 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sat, 16 Mar 2024 21:46:29 +0100 Subject: HCR-14: Reworked page allocator for AMD64. Signed-off-by: Amlal El Mahrouss --- Private/NewBoot/BootKit/Arch/AHCI.hxx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Private/NewBoot/BootKit') diff --git a/Private/NewBoot/BootKit/Arch/AHCI.hxx b/Private/NewBoot/BootKit/Arch/AHCI.hxx index 2047c404..9505377b 100644 --- a/Private/NewBoot/BootKit/Arch/AHCI.hxx +++ b/Private/NewBoot/BootKit/Arch/AHCI.hxx @@ -17,14 +17,14 @@ class BDeviceAHCI final { HCORE_COPY_DEFAULT(BDeviceAHCI); struct AHCITraits final { - HCore::SizeT mBase{1024}; - HCore::Boolean mErr{false}; - HCore::Boolean mDetected{false}; + HCore::SizeT fBase{1024}; + HCore::Boolean fError{false}; + HCore::Boolean fDetected{false}; - operator bool() { return !this->mErr; } + operator bool() { return !this->fError; } }; - operator bool() { return this->Leak().mDetected; } + operator bool() { return this->Leak().fDetected; } BDeviceAHCI& Read(HCore::WideChar* Buf, const HCore::SizeT& SecCount); BDeviceAHCI& Write(HCore::WideChar* Buf, const HCore::SizeT& SecCount); -- cgit v1.2.3