aboutsummaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rw-r--r--src/common/include/proto/fb.h10
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