aboutsummaryrefslogtreecommitdiff
path: root/libs/libc/inc/sys.h
diff options
context:
space:
mode:
authorMarvin Borner2021-05-20 22:18:35 +0200
committerMarvin Borner2021-05-20 22:19:20 +0200
commitd8d17375291f89d37cad43df36c11d9c132e23be (patch)
treeed6ba70ac6bd6b4e50dde6e1a0b2d62b7881e721 /libs/libc/inc/sys.h
parent298aaf63f15350e6248d5a96e8c6a63b0ec93e0f (diff)
Added BGA driver and generic FB wrapper
Diffstat (limited to 'libs/libc/inc/sys.h')
-rw-r--r--libs/libc/inc/sys.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libs/libc/inc/sys.h b/libs/libc/inc/sys.h
index 7d81f33..14d9698 100644
--- a/libs/libc/inc/sys.h
+++ b/libs/libc/inc/sys.h
@@ -52,6 +52,14 @@ enum io_type {
#define IOCTL_BUS_CONNECT_CONN 1
#define IOCTL_BUS_REGISTER 2
+struct fb_generic {
+ u16 bpp;
+ u16 pitch;
+ u16 width;
+ u16 height;
+ u8 *fb;
+};
+
struct bus_header {
u32 conn;
// Data starts here