diff options
author | aqua <aqua@iserlohn-fortress.net> | 2022-11-08 17:19:45 +0200 |
---|---|---|
committer | aqua <aqua@iserlohn-fortress.net> | 2022-11-08 17:54:13 +0200 |
commit | dbdaa77fb5924b4b9e6b374a44ef76481a38d3d2 (patch) | |
tree | abd4daf428532ac026a538e20138907b36c795c3 /devices/vga.h | |
parent | Add python-sphinx docs (diff) | |
download | kernel-dbdaa77fb5924b4b9e6b374a44ef76481a38d3d2.tar.xz |
Add FILE struct
Diffstat (limited to 'devices/vga.h')
-rw-r--r-- | devices/vga.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/devices/vga.h b/devices/vga.h index daaa482..d9dfd44 100644 --- a/devices/vga.h +++ b/devices/vga.h @@ -1,5 +1,7 @@ #pragma once +#include <stdio.h> + /** Hardware text mode color constants. */ enum vga_color { VGA_COLOR_BLACK = 0, @@ -20,11 +22,11 @@ enum vga_color { VGA_COLOR_WHITE = 15, }; -void vga_init(); +FILE *vga_init(); void vga_clear(enum vga_color foreground, enum vga_color background); -void vga_putc(char a); -void vga_puts(const char *string, int len); +// void vga_putc(char a); +// void vga_puts(const char *string, int len); // void vga_enable_cursor(unsigned char start, unsigned char end); // void vga_disable_cursor(); |