aboutsummaryrefslogtreecommitdiff
path: root/drivers/include
diff options
context:
space:
mode:
authorFranklin Wei <frankhwei536@gmail.com>2015-02-07 19:03:47 -0500
committerFranklin Wei <frankhwei536@gmail.com>2015-02-07 19:03:47 -0500
commit0dc446980d8ede518a356ab2c2f165cb08ce444a (patch)
treed9fc8938c1d930f8ece0dd5746601eca5b3089bc /drivers/include
parent2be70c3b7c3cb806614318858090c039bdfd4fc5 (diff)
downloadkappa-0dc446980d8ede518a356ab2c2f165cb08ce444a.zip
kappa-0dc446980d8ede518a356ab2c2f165cb08ce444a.tar.gz
kappa-0dc446980d8ede518a356ab2c2f165cb08ce444a.tar.bz2
kappa-0dc446980d8ede518a356ab2c2f165cb08ce444a.tar.xz
implement text in graphics mode
Diffstat (limited to 'drivers/include')
-rw-r--r--drivers/include/gfx.h3
-rw-r--r--drivers/include/ps2.h2
2 files changed, 4 insertions, 1 deletions
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 <stdbool.h>
#include <stdint.h>
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 <stdint.h>
#define PS2_SCROLL_LOCK (1 << 0)