Kernel: Add very simple BGA driver

Only thing this is currently helpful is qemu when booting with -kernel
flag as that does not provide framebuffer info in multiboot headers
This commit is contained in:
2026-08-24 01:35:06 +03:00
parent 9a9a4fe8c0
commit cd6269d406
11 changed files with 442 additions and 37 deletions
@@ -15,6 +15,25 @@ struct framebuffer_info_t
uint32_t height;
};
struct fb_fix_info
{
uint32_t xpanstep;
uint32_t ypanstep;
uint32_t pitch;
uint64_t mem_start;
uint32_t mem_size;
};
struct fb_var_info
{
uint32_t xres;
uint32_t yres;
uint32_t xres_virt;
uint32_t yres_virt;
uint32_t xoff;
uint32_t yoff;
uint32_t bpp;
};
__END_DECLS
#endif