From 028d7057402051f809bbafa27aa278769732c56b Mon Sep 17 00:00:00 2001 From: amlal Date: Sat, 9 Mar 2024 19:12:48 +0000 Subject: Microkernel: See below. - Moved most of GDT code to AMD64's Processor.hpp - add hal_ category of functions. Signed-off-by: amlal --- Private/NewBoot/BootKit/Arch/AHCI.hxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Private/NewBoot/BootKit') diff --git a/Private/NewBoot/BootKit/Arch/AHCI.hxx b/Private/NewBoot/BootKit/Arch/AHCI.hxx index 32fe033c..f4e635c7 100644 --- a/Private/NewBoot/BootKit/Arch/AHCI.hxx +++ b/Private/NewBoot/BootKit/Arch/AHCI.hxx @@ -24,10 +24,10 @@ class BDeviceAHCI final { HCore::Boolean mErr{false}; HCore::Boolean mDetected{false}; - operator bool() { return !mErr; } + operator bool() { return !this->mErr; } }; - operator bool() { return Leak().mDetected; } + operator bool() { return this->Leak().mDetected; } BDeviceAHCI& Read(HCore::WideChar* Buf, const HCore::SizeT& SecCount); BDeviceAHCI& Write(HCore::WideChar* Buf, const HCore::SizeT& SecCount); -- cgit v1.2.3