From f0811b1e200293c5ccc387d866d0ad49a41bba17 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Tue, 2 Apr 2024 07:04:53 +0200 Subject: 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 --- Private/StorageKit/PRDT.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Private/StorageKit') 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 -- cgit v1.2.3