blob: 642e581a76f43bc79fd15c94d340f3c6eb081a41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
/* -------------------------------------------
Copyright (C) 2024, Amlal EL Mahrouss, all rights reserved.
------------------------------------------- */
#include <StorageKit/NVME.h>
namespace Kernel
{
NVMEDeviceInterface::NVMEDeviceInterface(void (*out)(MountpointInterface* outpacket),
void (*in)(MountpointInterface* inpacket),
void (*cleanup)(void))
: IDeviceObject(out, in), fCleanup(cleanup)
{
}
NVMEDeviceInterface::~NVMEDeviceInterface()
{
if (fCleanup)
fCleanup();
}
const Char* NVMEDeviceInterface::Name() const
{
return ("NVMEDeviceInterface");
}
} // namespace Kernel
|