summaryrefslogtreecommitdiffhomepage
path: root/Private/NewBoot/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Private/NewBoot/Source')
-rw-r--r--Private/NewBoot/Source/HEL/AMD64/ATA.cxx10
-rw-r--r--Private/NewBoot/Source/HEL/AMD64/Entrypoint.cxx1
2 files changed, 10 insertions, 1 deletions
diff --git a/Private/NewBoot/Source/HEL/AMD64/ATA.cxx b/Private/NewBoot/Source/HEL/AMD64/ATA.cxx
index 80dffa02..4f1b3171 100644
--- a/Private/NewBoot/Source/HEL/AMD64/ATA.cxx
+++ b/Private/NewBoot/Source/HEL/AMD64/ATA.cxx
@@ -179,6 +179,11 @@ BATADevice::BATADevice() noexcept {
}
}
+/**
+ @brief Read Buf from disk
+ @param Sz Sector size
+ @param Buf buffer
+*/
BATADevice& BATADevice::Read(CharacterType* Buf, const SizeT& Sz) {
if (!ATAIsDetected()) return *this;
@@ -196,6 +201,11 @@ BATADevice& BATADevice::Read(CharacterType* Buf, const SizeT& Sz) {
return *this;
}
+/**
+ @brief Write Buf into disk
+ @param Sz Sector size
+ @param Buf buffer
+*/
BATADevice& BATADevice::Write(CharacterType* Buf, const SizeT& Sz) {
if (!ATAIsDetected()) return *this;
diff --git a/Private/NewBoot/Source/HEL/AMD64/Entrypoint.cxx b/Private/NewBoot/Source/HEL/AMD64/Entrypoint.cxx
index 841a1f40..69f235c4 100644
--- a/Private/NewBoot/Source/HEL/AMD64/Entrypoint.cxx
+++ b/Private/NewBoot/Source/HEL/AMD64/Entrypoint.cxx
@@ -9,7 +9,6 @@
#define __BOOTLOADER__ 1
-#include <BootKit/Arch/ATA.hxx>
#include <BootKit/BootKit.hxx>
#include <EFIKit/Api.hxx>