From ad999c3e2e5ca4379e90d4e019b7671a1eaa3fbd Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Fri, 11 Oct 2024 17:32:44 +0200 Subject: IMP: Add new targets for OS X, Xcode. FIX: Refactored kernel's source code according to codebase standards. Signed-off-by: Amlal El Mahrouss --- dev/modules/NVME/NVME.hxx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'dev/modules/NVME') 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 - 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 - 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; -- cgit v1.2.3