summaryrefslogtreecommitdiffhomepage
path: root/dev/modules/NVME
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-10-11 17:32:44 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-10-11 17:32:44 +0200
commitad999c3e2e5ca4379e90d4e019b7671a1eaa3fbd (patch)
tree9b8df3af900389d9e693ac32a3c28af7519db384 /dev/modules/NVME
parent25fa708c31a5a189fac7ad98d61f5541f3f7fa84 (diff)
IMP: Add new targets for OS X, Xcode.
FIX: Refactored kernel's source code according to codebase standards. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/modules/NVME')
-rw-r--r--dev/modules/NVME/NVME.hxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/dev/modules/NVME/NVME.hxx b/dev/modules/NVME/NVME.hxx
index b0795cb4..403597a0 100644
--- a/dev/modules/NVME/NVME.hxx
+++ b/dev/modules/NVME/NVME.hxx
@@ -54,9 +54,7 @@ namespace Kernel
/// @brief Creates an admin command for a DMA operation.
template <Int32 Opcode>
- inline Bool nvme_create_admin_command(HAL_NVME_QUEUE* entry, UInt32 nsid,
- UInt32 prpTransfer[3], UInt32 startingLba[2],
- UInt32 lowTransferBlocks)
+ inline Bool nvme_create_admin_command(HAL_NVME_QUEUE* entry, UInt32 nsid, UInt32 prpTransfer[3], UInt32 startingLba[2], UInt32 lowTransferBlocks)
{
if (entry == nullptr)
return false;
@@ -77,10 +75,7 @@ namespace Kernel
/// @brief Creates an I/O command for a DMA operation.
template <Int32 Opcode>
- inline Bool nvme_create_io_command(HAL_NVME_QUEUE* entry, UInt64 baseAddress,
- UInt32 identLoAndQueueSizeHi, UInt32 flagsLoAndQueueComplIdHi,
- UInt32 identify, Bool provideIdentify = false,
- Bool namespaceIdentify = false)
+ inline Bool nvme_create_io_command(HAL_NVME_QUEUE* entry, UInt64 baseAddress, UInt32 identLoAndQueueSizeHi, UInt32 flagsLoAndQueueComplIdHi, UInt32 identify, Bool provideIdentify = false, Bool namespaceIdentify = false)
{
if (entry == nullptr)
return false;