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/KernelKit/DebugOutput.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/kernel/KernelKit/DebugOutput.h') diff --git a/src/kernel/KernelKit/DebugOutput.h b/src/kernel/KernelKit/DebugOutput.h index 301a3a9e..0818a712 100644 --- a/src/kernel/KernelKit/DebugOutput.h +++ b/src/kernel/KernelKit/DebugOutput.h @@ -25,9 +25,8 @@ inline TerminalDevice hex_number(const Long& x); // @brief Emulates a VT100 terminal. class TerminalDevice final NE_DEVICE { public: - TerminalDevice(void (*print)(DeviceInterface*, const Char*), - void (*gets)(DeviceInterface*, const Char*)) - : DeviceInterface(print, gets) {} + TerminalDevice(void (*print)(IDevice*, const Char*), void (*gets)(IDevice*, const Char*)) + : IDevice(print, gets) {} ~TerminalDevice() override; @@ -42,9 +41,9 @@ class TerminalDevice final NE_DEVICE { class Utf8TerminalDevice final NE_DEVICE { public: - Utf8TerminalDevice(void (*print)(DeviceInterface*, const Utf8Char*), - void (*gets)(DeviceInterface*, const Utf8Char*)) - : DeviceInterface(print, gets) {} + Utf8TerminalDevice(void (*print)(IDevice*, const Utf8Char*), + void (*gets)(IDevice*, const Utf8Char*)) + : IDevice(print, gets) {} ~Utf8TerminalDevice() override; -- cgit v1.2.3