summaryrefslogtreecommitdiffhomepage
path: root/dev/kernel/NetworkKit/NetworkDevice.inl
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-05-30 10:56:29 +0200
committerAmlal El Mahrouss <amlal@nekernel.org>2025-05-30 10:56:29 +0200
commit0e92d4841f0d1b6a5f2e1b093d9d0b6864dfac93 (patch)
tree80b1bcc96d24a058a485c345b14402fdc6486e2a /dev/kernel/NetworkKit/NetworkDevice.inl
parent267b82036b457242325d30893280fdd4e74cd27f (diff)
refactor: Refactor IDeviceObject to DeviceInterface and its usages.
refactor: Cleanup UPS (UserProcessScheduler) implementation. Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'dev/kernel/NetworkKit/NetworkDevice.inl')
-rw-r--r--dev/kernel/NetworkKit/NetworkDevice.inl6
1 files changed, 3 insertions, 3 deletions
diff --git a/dev/kernel/NetworkKit/NetworkDevice.inl b/dev/kernel/NetworkKit/NetworkDevice.inl
index 84ec9edc..6ef480a9 100644
--- a/dev/kernel/NetworkKit/NetworkDevice.inl
+++ b/dev/kernel/NetworkKit/NetworkDevice.inl
@@ -13,12 +13,12 @@
#endif // __INC_NETWORK_DEVICE_H__
namespace Kernel {
-inline NetworkDevice::NetworkDevice(void (*out)(IDeviceObject<NetworkDeviceCommand>*,
+inline NetworkDevice::NetworkDevice(void (*out)(DeviceInterface<NetworkDeviceCommand>*,
NetworkDeviceCommand),
- void (*in)(IDeviceObject<NetworkDeviceCommand>*,
+ void (*in)(DeviceInterface<NetworkDeviceCommand>*,
NetworkDeviceCommand),
void (*on_cleanup)(void))
- : IDeviceObject<NetworkDeviceCommand>(out, in), fCleanup(on_cleanup) {
+ : DeviceInterface<NetworkDeviceCommand>(out, in), fCleanup(on_cleanup) {
kout << "NetworkDevice initialized.\r";
MUST_PASS(out && in && on_cleanup);