summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/src/Storage/NVMEDeviceInterface.cc
diff options
context:
space:
mode:
authorAmlal <amlal.elmahrouss@icloud.com>2025-02-22 08:45:43 +0100
committerAmlal <amlal.elmahrouss@icloud.com>2025-02-22 08:45:43 +0100
commit34f62ae2dd8c77cee1f0f3680caf407b1be6b350 (patch)
tree0985426a5d3baf2ae398a3f27ee4faca5d879f2e /dev/Kernel/src/Storage/NVMEDeviceInterface.cc
parent917938db87fee3a905a78c499d2fe1dc2f0b5ca5 (diff)
New DeviceMgr, other APIs have been reworked as a result.
AHCI becomes the first module to be available in StorageKit. Signed-off-by: Amlal <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Kernel/src/Storage/NVMEDeviceInterface.cc')
-rw-r--r--dev/Kernel/src/Storage/NVMEDeviceInterface.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev/Kernel/src/Storage/NVMEDeviceInterface.cc b/dev/Kernel/src/Storage/NVMEDeviceInterface.cc
index 7884ce99..3e2c2c53 100644
--- a/dev/Kernel/src/Storage/NVMEDeviceInterface.cc
+++ b/dev/Kernel/src/Storage/NVMEDeviceInterface.cc
@@ -8,8 +8,8 @@
namespace NeOS
{
- NVMEDeviceInterface::NVMEDeviceInterface(void (*out)(MountpointInterface* outpacket),
- void (*in)(MountpointInterface* inpacket),
+ NVMEDeviceInterface::NVMEDeviceInterface(void (*out)(IDeviceObject*, MountpointInterface* outpacket),
+ void (*in)(IDeviceObject*, MountpointInterface* inpacket),
void (*cleanup)(void))
: IDeviceObject(out, in), fCleanup(cleanup)
{
@@ -23,6 +23,6 @@ namespace NeOS
const Char* NVMEDeviceInterface::Name() const
{
- return ("NVMEDeviceInterface");
+ return ("/dev/nvme{}");
}
} // namespace NeOS