Implement debug console device
This commit is contained in:
17
kernel/device/debugconsole.h
Normal file
17
kernel/device/debugconsole.h
Normal 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
|
||||
Reference in New Issue
Block a user