// Copyright 2024-2025, Amlal El Mahrouss (amlal@nekernel.org) // Licensed under the Apache License, Version 2.0 (see LICENSE file) // Official repository: https://github.com/ne-foss-org/nekernel #ifndef STORAGEKIT_PRDT_H #define STORAGEKIT_PRDT_H #include #include #include #define kPrdtTransferSize (sizeof(Kernel::UShort)) namespace Kernel { /// @brief Tranfer information about PRD. enum { kPRDTTransferInProgress, kPRDTTransferIsDone, kPRDTTransferCount, }; /// @brief Physical Region Descriptor Table. struct PRDT final { UInt32 fPhysAddress; UInt32 fSectorCount; UInt8 fEndBit; }; void construct_prdt(Ref& prd); EXTERN_C Int32 kPRDTTransferStatus; } // namespace Kernel #endif