From 36dee4f0d8ea806b2f061ed66a89e812ab007ed2 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 22 Dec 2025 07:38:52 +0100 Subject: feat: test: Add `kout` test and rename DeviceInterface to IDevice in KernelKit. introduce UserPtr and unburden vettable by removing the IVettable helper. Signed-off-by: Amlal El Mahrouss --- src/kernel/NetworkKit/NetworkDevice.inl | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'src/kernel/NetworkKit/NetworkDevice.inl') diff --git a/src/kernel/NetworkKit/NetworkDevice.inl b/src/kernel/NetworkKit/NetworkDevice.inl index a86d7e56..b57012c9 100644 --- a/src/kernel/NetworkKit/NetworkDevice.inl +++ b/src/kernel/NetworkKit/NetworkDevice.inl @@ -13,12 +13,10 @@ #endif // __INC_NETWORK_DEVICE_H__ namespace Kernel { -inline NetworkDevice::NetworkDevice(void (*out)(DeviceInterface*, - NetworkDeviceCommand), - void (*in)(DeviceInterface*, - NetworkDeviceCommand), - void (*on_cleanup)(void)) - : DeviceInterface(out, in), fCleanup(on_cleanup) { +inline NetworkDevice::NetworkDevice( + void (*out)(IDevice*, NetworkDeviceCommand), + void (*in)(IDevice*, NetworkDeviceCommand), void (*on_cleanup)(void)) + : IDevice(out, in), fCleanup(on_cleanup) { kout << "NetworkDevice initialized.\r"; MUST_PASS(out && in && on_cleanup); -- cgit v1.2.3