From 0dc446980d8ede518a356ab2c2f165cb08ce444a Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sat, 7 Feb 2015 19:03:47 -0500 Subject: implement text in graphics mode --- drivers/include/gfx.h | 3 ++- drivers/include/ps2.h | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'drivers/include') diff --git a/drivers/include/gfx.h b/drivers/include/gfx.h index bafd7a3..19019a9 100644 --- a/drivers/include/gfx.h +++ b/drivers/include/gfx.h @@ -1,3 +1,4 @@ +#include #include enum vga_color_t { @@ -31,7 +32,7 @@ enum vga_color_t { struct vbe_info_t; -void gfx_init(struct vbe_info_t *vbe_mode_info); +bool gfx_init(struct vbe_info_t *vbe_mode_info); void gfx_drawpixel(int x, int y, uint32_t color); diff --git a/drivers/include/ps2.h b/drivers/include/ps2.h index 924ef24..6f2c572 100644 --- a/drivers/include/ps2.h +++ b/drivers/include/ps2.h @@ -1,3 +1,5 @@ +/* this is both a PS/2 keyboard AND a PS/2 MOUSE driver */ + #include #define PS2_SCROLL_LOCK (1 << 0) -- cgit v1.1