summaryrefslogtreecommitdiffhomepage
path: root/Private/StorageKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-04-02 07:04:53 +0200
committerAmlal El Mahrouss <amlal@el-mahrouss-logic.com>2024-04-02 07:04:53 +0200
commitf0811b1e200293c5ccc387d866d0ad49a41bba17 (patch)
treea31adbc1d14465e08088a98f1b4b8ebd0936db16 /Private/StorageKit
parentd445096b8403ad0bdbf0095c50f66ba01fde9f33 (diff)
Kernel: New commit, see below.
- Implement FileManager's NewFilesystemManager. - Add ATA-DMA and ATA-PIO APIs. - Add the two raw call (fs_newfs_read_raw, fs_newfs_write_raw) to the NewFS API. - Add kPRDTTransferStatus to tell if PRD is in use. Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Private/StorageKit')
-rw-r--r--Private/StorageKit/PRDT.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/Private/StorageKit/PRDT.hpp b/Private/StorageKit/PRDT.hpp
index 48886db6..9163a8bf 100644
--- a/Private/StorageKit/PRDT.hpp
+++ b/Private/StorageKit/PRDT.hpp
@@ -12,7 +12,8 @@
#define kPrdtTransferSize (sizeof(NewOS::UShort))
namespace NewOS {
-enum {
+/// @brief Tranfer information about PRD.
+enum kPRDTTransfer {
kPRDTTransferInProgress,
kPRDTTransferIsDone,
kPRDTTransferCount,
@@ -47,5 +48,5 @@ class PRDT final {
UIntPtr m_PrdtAddr;
};
-using PhysicalAddress = PRDT; // here
+EXTERN_C Int32 kPRDTTransferStatus;
} // namespace NewOS