diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-01-03 09:58:24 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2025-01-03 09:58:24 +0100 |
| commit | cbfd279a1410e11d734edc99509a3e0c02dc6fcc (patch) | |
| tree | 9fdda9fed9bd39f5f0ad8f2ba8bf0820d7495cff /dev/Mod/NVME | |
| parent | 69b47cf75b49ffe571ab528497b30a2499d372cb (diff) | |
Worked on the AARCH64 HAL for TQ's boards, Add new spec in /doc/
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Mod/NVME')
| -rw-r--r-- | dev/Mod/NVME/NVME.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/dev/Mod/NVME/NVME.h b/dev/Mod/NVME/NVME.h index 6d327bd7..73ca0d7e 100644 --- a/dev/Mod/NVME/NVME.h +++ b/dev/Mod/NVME/NVME.h @@ -5,7 +5,7 @@ Revision History: ??/??/24: Added file (amlel) - 23 Jul 24: Update filename to Defines.h and using ALIGN_NVME for NVME structs. (amlel) + 23 Jul 24: Update filename to Defines.h and using ZKA_ALIGN_NVME for NVME structs. (amlel) ------------------------------------------- */ @@ -14,13 +14,14 @@ #include <NewKit/Defines.h> -/// TODO: checklist in: https://wiki.osdev.org/NVMe +/// @file NVME.h +/// @brief NVME driver. -#define ALIGN_NVME ATTRIBUTE(aligned(sizeof(Kernel::UInt32))) +#define ZKA_ALIGN_NVME ATTRIBUTE(aligned(sizeof(Kernel::UInt32))) namespace Kernel { - struct ALIGN_NVME HAL_NVME_BAR_0 final + struct ZKA_ALIGN_NVME HAL_NVME_BAR_0 final { UInt32 fCapabilities; UInt32 fVersion; @@ -33,7 +34,7 @@ namespace Kernel UInt32 fAdminCompletionQueue; }; - struct ALIGN_NVME HAL_NVME_QUEUE final + struct ZKA_ALIGN_NVME HAL_NVME_QUEUE final { UInt32 fOpcode; UInt32 fNSID; |
