Implement debug console device

This commit is contained in:
2026-03-11 15:35:36 +01:00
parent 6ce4864fd3
commit 5024870dc7
23 changed files with 161 additions and 11 deletions

View File

@@ -0,0 +1,17 @@
#ifndef _KERNEL_DEVICE_DEBUGCONSOLE_H
#define _KERNEL_DEVICE_DEBUGCONSOLE_H
#include <libk/std.h>
#include <proc/proc.h>
#include <proc/reschedule.h>
struct device;
bool debugconsole_init (struct device* device, void* arg);
void debugconsole_fini (struct device* device);
int debugconsole_putstr (struct device* device, struct proc* proc, struct reschedule_ctx* rctx,
void* a1, void* a2, void* a3, void* a4);
#endif // _KERNEL_DEVICE_DEBUGCONSOLE_H