From 052ca1dc143b1df2800f9c4e43daf80c96fb472e Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Wed, 11 Mar 2015 13:08:23 +0100 Subject: Refactor ; add default font (8x16 standard VGA font). --- src/common/include/proto/fb.h | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/common') diff --git a/src/common/include/proto/fb.h b/src/common/include/proto/fb.h index 6bc6a6c..dab9643 100644 --- a/src/common/include/proto/fb.h +++ b/src/common/include/proto/fb.h @@ -18,11 +18,17 @@ typedef struct { uint32_t pitch; // bytes per line uint32_t bpp; uint32_t memory_model; -} framebuffer_info_t; +} fb_info_t; + +typedef struct { + uint32_t x, y; + uint32_t w, h; +} fb_region_t; + typedef struct { int mode_number; - framebuffer_info_t geom; + fb_info_t geom; } fbdev_mode_info_t; #define IOCTL_FB_GET_INFO 1 -- cgit v1.2.3