X-Git-Url: https://scm.lunaixsky.com/lunaix-os.git/blobdiff_plain/84d85ea7b7bba78431600369cf1717166e156cd0..cd09c4b222e4ddf45a42522563ae2471a829d1c8:/lunaix-os/includes/lunaix/tty/tty.h diff --git a/lunaix-os/includes/lunaix/tty/tty.h b/lunaix-os/includes/lunaix/tty/tty.h index c1a9a92..3d723ca 100644 --- a/lunaix-os/includes/lunaix/tty/tty.h +++ b/lunaix-os/includes/lunaix/tty/tty.h @@ -1,3 +1,5 @@ +#ifndef __LUNAIX_TTY_H +#define __LUNAIX_TTY_H typedef unsigned short vga_attribute; #define VGA_COLOR_BLACK 0 @@ -17,6 +19,12 @@ typedef unsigned short vga_attribute; #define VGA_COLOR_LIGHT_BROWN 14 #define VGA_COLOR_WHITE 15 +void +tty_init(void* vga_buf); + +void +tty_set_buffer(void* vga_buf); + void tty_set_theme(vga_attribute fg, vga_attribute bg); @@ -30,4 +38,7 @@ void tty_scroll_up(); void -tty_clear(); \ No newline at end of file +tty_clear(); + + +#endif /* __LUNAIX_TTY_H */