diff options
| author | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-02 11:58:14 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlalelmahrouss@icloud.com> | 2024-02-02 11:58:14 +0100 |
| commit | 1b4bd4df5f5cc15c688a13a169a76a8af69d0700 (patch) | |
| tree | 66c8052ede212f0ec3d383661739af1bc6ee4432 /Private/NewBoot/BootKit/Arch | |
| parent | df77fd9586cb305a738d5b4dfcdbe67177e3de3f (diff) | |
Bootloader: Getting it done now.
Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/NewBoot/BootKit/Arch')
| -rw-r--r-- | Private/NewBoot/BootKit/Arch/ATA.hxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Private/NewBoot/BootKit/Arch/ATA.hxx b/Private/NewBoot/BootKit/Arch/ATA.hxx index 5c42237a..8b25a125 100644 --- a/Private/NewBoot/BootKit/Arch/ATA.hxx +++ b/Private/NewBoot/BootKit/Arch/ATA.hxx @@ -133,7 +133,7 @@ class BATADevice final { struct ATATraits final { SizeT mBase{1024}; UInt16 mBus{kPrimary}; - Boolean mMaster{false}; + Boolean mMaster{true}; }; operator bool() { return ATAIsDetected(); } @@ -154,3 +154,5 @@ enum { kATADeviceSATA_PI, kATADeviceCount, }; + +#define kATASectorSz 512 |
