From c0df0ee6437aa2786b1a92bc6af1284958d104c7 Mon Sep 17 00:00:00 2001 From: Franklin Wei Date: Sat, 7 Feb 2015 11:03:48 -0500 Subject: new rng, some rework of I/O --- drivers/include/vga.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'drivers/include') diff --git a/drivers/include/vga.h b/drivers/include/vga.h index b83ec95..8ea478b 100644 --- a/drivers/include/vga.h +++ b/drivers/include/vga.h @@ -33,6 +33,12 @@ enum vga_color_t { #define VGA_MAKE_ENTRY(ch, col) (((uint16_t)ch)|((uint16_t)col<<8)) #define VGA_RGBPACK(r, g, b) ((r << 16)|(g << 8)|(b << 0)) -void vga_init(); +struct vbe_info_t; -void vga_drawpixel(int x, int y, uint32_t pix); +void vga_init(struct vbe_info_t *vbe_mode_info); + +void vga_drawpixel(int x, int y, uint32_t color); + +void vga_clear(uint32_t color); + +extern const uint16_t *vga_width, *vga_height; -- cgit v1.1