diff options
author | Alex Auvolat <alex@adnab.me> | 2015-03-11 13:08:23 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2015-03-11 13:08:23 +0100 |
commit | 052ca1dc143b1df2800f9c4e43daf80c96fb472e (patch) | |
tree | 942afa77e09d1e6d0b932cd8866fdf4a1f52f724 /src/common/include | |
parent | 35c1120a6069414dd279b988eb772f4eec0966f7 (diff) | |
download | kogata-052ca1dc143b1df2800f9c4e43daf80c96fb472e.tar.gz kogata-052ca1dc143b1df2800f9c4e43daf80c96fb472e.zip |
Refactor ; add default font (8x16 standard VGA font).
Diffstat (limited to 'src/common/include')
-rw-r--r-- | src/common/include/proto/fb.h | 10 |
1 files changed, 8 insertions, 2 deletions
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 |