summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/StorageKit/NVME.h
diff options
context:
space:
mode:
authorAmlal <amlal@nekernel.org>2025-04-25 13:08:33 +0200
committerAmlal <amlal@nekernel.org>2025-04-25 13:08:33 +0200
commitfb790b07aeba8e22e4190cf3e1834d11ecde6c96 (patch)
tree4cec7d1b321307b1d5935577631dae116a658a37 /dev/kernel/StorageKit/NVME.h
parent63a2d92c5dfe976175cda024ec01905d11b43738 (diff)
dev: better .clang-format, ran format command.
Signed-off-by: Amlal <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/StorageKit/NVME.h')
-rw-r--r--dev/kernel/StorageKit/NVME.h36
1 files changed, 17 insertions, 19 deletions
diff --git a/dev/kernel/StorageKit/NVME.h b/dev/kernel/StorageKit/NVME.h
index c86135d0..aae36a94 100644
--- a/dev/kernel/StorageKit/NVME.h
+++ b/dev/kernel/StorageKit/NVME.h
@@ -1,6 +1,6 @@
/* -------------------------------------------
- Copyright (C) 2024-2025, Amlal El Mahrouss, all rights reserved.
+ Copyright (C) 2024-2025, Amlal El Mahrouss, all rights reserved.
------------------------------------------- */
@@ -9,26 +9,24 @@
#include <KernelKit/DeviceMgr.h>
#include <KernelKit/DriveMgr.h>
-namespace Kernel
-{
- class NVMEDeviceInterface final NE_DEVICE<MountpointInterface*>
- {
- public:
- explicit NVMEDeviceInterface(Void (*out)(IDeviceObject*, MountpointInterface* out_packet),
- Void (*in)(IDeviceObject*, MountpointInterface* in_packet),
- Void (*cleanup)(Void));
+namespace Kernel {
+class NVMEDeviceInterface final NE_DEVICE<MountpointInterface*> {
+ public:
+ explicit NVMEDeviceInterface(Void (*out)(IDeviceObject*, MountpointInterface* out_packet),
+ Void (*in)(IDeviceObject*, MountpointInterface* in_packet),
+ Void (*cleanup)(Void));
- ~NVMEDeviceInterface() override;
+ ~NVMEDeviceInterface() override;
- public:
- NE_COPY_DEFAULT(NVMEDeviceInterface)
+ public:
+ NE_COPY_DEFAULT(NVMEDeviceInterface)
- const Char* Name() const override;
+ const Char* Name() const override;
- public:
- OwnPtr<MountpointInterface*> operator()(UInt32 dma_low, UInt32 dma_high, SizeT dma_sz);
+ public:
+ OwnPtr<MountpointInterface*> operator()(UInt32 dma_low, UInt32 dma_high, SizeT dma_sz);
- private:
- Void (*fCleanup)(Void) = {nullptr};
- };
-} // namespace Kernel
+ private:
+ Void (*fCleanup)(Void) = {nullptr};
+};
+} // namespace Kernel