From 6ed8a39c1bd3083297b41e981a2bf4bdbe2abd1f Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 21 Nov 2024 08:50:57 +0100 Subject: IMP: Add UserProcessImage structure to hold the code/entrypoint of the process. IMP: Use IDLLObject instead of IPEFDLLObject. IMP: Refactor DeviceInterface to IDeviceObject. ADD: rt_jump_to_address when you want to use a custom stack. Signed-off-by: Amlal El Mahrouss --- dev/ZKAKit/NetworkKit/NetworkDevice.h | 2 +- dev/ZKAKit/NetworkKit/NetworkDevice.inl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'dev/ZKAKit/NetworkKit') diff --git a/dev/ZKAKit/NetworkKit/NetworkDevice.h b/dev/ZKAKit/NetworkKit/NetworkDevice.h index 878030b1..6d119114 100644 --- a/dev/ZKAKit/NetworkKit/NetworkDevice.h +++ b/dev/ZKAKit/NetworkKit/NetworkDevice.h @@ -20,7 +20,7 @@ namespace Kernel /** * \brief Network device interface, establishes a connection to the NIC. */ - class NetworkDevice final : public DeviceInterface + class NetworkDevice final : public IDeviceObject { public: NetworkDevice(void (*out)(NetworkDeviceCommand), diff --git a/dev/ZKAKit/NetworkKit/NetworkDevice.inl b/dev/ZKAKit/NetworkKit/NetworkDevice.inl index 837750c6..d4ba2c1b 100644 --- a/dev/ZKAKit/NetworkKit/NetworkDevice.inl +++ b/dev/ZKAKit/NetworkKit/NetworkDevice.inl @@ -13,7 +13,7 @@ namespace Kernel NetworkDevice::NetworkDevice(void (*out)(NetworkDeviceCommand), void (*in)(NetworkDeviceCommand), void (*on_cleanup)(void)) - : DeviceInterface(out, in), fCleanup(on_cleanup) + : IDeviceObject(out, in), fCleanup(on_cleanup) { kcout << "NetworkDevice initialized.\r"; -- cgit v1.2.3