From d835cae0968ea5d6e9989dac637449b8d403ac5e Mon Sep 17 00:00:00 2001 From: Joursoir Date: Mon, 30 Aug 2021 12:48:24 +0000 Subject: move interaction with VGA to driver --- drivers/video/console/vgacon.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 drivers/video/console/vgacon.h (limited to 'drivers/video/console/vgacon.h') diff --git a/drivers/video/console/vgacon.h b/drivers/video/console/vgacon.h new file mode 100644 index 0000000..ac2e9e3 --- /dev/null +++ b/drivers/video/console/vgacon.h @@ -0,0 +1,15 @@ +#ifndef DRIVERS_VIDEO_CONSOLE_VGA_H +#define DRIVERS_VIDEO_CONSOLE_VGA_H + +#include +#include + +void vgacon_init(void); +void vgacon_setattr(uint8_t attr); +void vgacon_scroll(size_t lines); +void vgacon_cls(void); +void vgacon_putchar(char c); +void vgacon_write(const char *str, size_t size); +void vgacon_print(const char *str); + +#endif /* DRIVERS_VIDEO_CONSOLE_VGA_H */ -- cgit v1.2.3-18-g5258