13#define kAHCISectorSz (512)
26 operator bool() {
return !this->mErr; }
Bootloader Application Programming Interface.
#define NE_COPY_DEFAULT(KLASS)
Definition Detail.h:17
static constexpr auto kSectorSize
Definition SATA.h:33
~BootDeviceSATA()=default
BootDeviceSATA & Write(Boot::CharacterTypeASCII *Buf, const Kernel::SizeT SecCount)
SATATrait mTrait
Definition SATA.h:41
BootDeviceSATA & Read(Boot::CharacterTypeASCII *Buf, const Kernel::SizeT SecCount)
SizeT GetDiskSize()
Definition SATA.h:31
Device type.
Definition Device.h:14
#define kAHCISectorSize
Definition AHCI.h:22
Kernel::SizeT drv_std_get_size()
Gets the AHCI disk size.
Char CharacterTypeASCII
Definition BootKit.h:54
__SIZE_TYPE__ SizeT
Definition Config.h:60
bool Boolean
Definition Config.h:49
Kernel::Boolean mDetected
Definition SATA.h:24
Kernel::Boolean mErr
Definition SATA.h:23