diff options
author | Marvin Borner | 2021-05-20 22:18:35 +0200 |
---|---|---|
committer | Marvin Borner | 2021-05-20 22:19:20 +0200 |
commit | d8d17375291f89d37cad43df36c11d9c132e23be (patch) | |
tree | ed6ba70ac6bd6b4e50dde6e1a0b2d62b7881e721 /kernel/inc | |
parent | 298aaf63f15350e6248d5a96e8c6a63b0ec93e0f (diff) |
Added BGA driver and generic FB wrapper
Diffstat (limited to 'kernel/inc')
-rw-r--r-- | kernel/inc/drivers/bga.h | 11 | ||||
-rw-r--r-- | kernel/inc/fb.h | 14 |
2 files changed, 25 insertions, 0 deletions
diff --git a/kernel/inc/drivers/bga.h b/kernel/inc/drivers/bga.h new file mode 100644 index 0000000..53c153c --- /dev/null +++ b/kernel/inc/drivers/bga.h @@ -0,0 +1,11 @@ +// MIT License, Copyright (c) 2021 Marvin Borner + +#ifndef BGA_H +#define BGA_H + +#include <def.h> + +u8 bga_available(void); +void bga_install(void); + +#endif diff --git a/kernel/inc/fb.h b/kernel/inc/fb.h new file mode 100644 index 0000000..0f94b28 --- /dev/null +++ b/kernel/inc/fb.h @@ -0,0 +1,14 @@ +// MIT License, Copyright (c) 2021 Marvin Borner + +#ifndef FB_H +#define FB_H + +#include <def.h> +#include <mm.h> +#include <sys.h> + +u32 fb_map_buffer(struct page_dir *dir, struct fb_generic *generic); +void fb_protect(struct fb_generic *generic); +void fb_install(void); + +#endif |