summaryrefslogtreecommitdiffhomepage
path: root/src/kernel/GfxKit/FB.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-22 07:38:52 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-22 07:42:26 +0100
commit36dee4f0d8ea806b2f061ed66a89e812ab007ed2 (patch)
tree8fe0f6895abb96eb40ee390d6411099b4decf489 /src/kernel/GfxKit/FB.h
parentf7023f6a08e117d483b5928fd4301062a3384abf (diff)
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 <amlal@nekernel.org>
Diffstat (limited to 'src/kernel/GfxKit/FB.h')
-rw-r--r--src/kernel/GfxKit/FB.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/GfxKit/FB.h b/src/kernel/GfxKit/FB.h
index c8a2dc4b..a55a3a5a 100644
--- a/src/kernel/GfxKit/FB.h
+++ b/src/kernel/GfxKit/FB.h
@@ -31,11 +31,11 @@ struct PACKED FBDevicePacket final {
/// @brief Framebuffer device interface.
/// @details This class is used to send and receive data from the framebuffer device.
-/// @note The class is derived from the DeviceInterface class.
+/// @note The class is derived from the IDevice class.
class FBDeviceInterface NE_DEVICE<FBDevicePacket*> {
public:
- explicit FBDeviceInterface(void (*out)(DeviceInterface* self, FBDevicePacket* out),
- void (*in)(DeviceInterface* self, FBDevicePacket* in));
+ explicit FBDeviceInterface(void (*out)(IDevice* self, FBDevicePacket* out),
+ void (*in)(IDevice* self, FBDevicePacket* in));
virtual ~FBDeviceInterface() override;