Files
mop3/kernel/device/terminal.h
kamkow1 a346a5667c
All checks were successful
Build documentation / build-and-deploy (push) Successful in 1m59s
Implement TERMINAL_DIMENSIONS op for the terminal device, CE add terminfo command
2026-03-05 16:42:02 +01:00

23 lines
660 B
C

#ifndef _KERNEL_DEVICE_TERMINAL_H
#define _KERNEL_DEVICE_TERMINAL_H
#include <libk/list.h>
#include <libk/std.h>
#include <proc/proc.h>
#include <proc/reschedule.h>
struct device;
struct device_op_ctx;
bool terminal_init (struct device* device, void* arg);
void terminal_fini (struct device* device);
int terminal_putstr (struct device* device, struct proc* proc, struct reschedule_ctx* rctx,
void* a1, void* a2, void* a3, void* a4);
int terminal_dimensions (struct device* device, struct proc* proc, struct reschedule_ctx* rctx,
void* a1, void* a2, void* a3, void* a4);
#endif // _KERNEL_DEVICE_TERMINAL_H