feat(pl/um): add SDL support

This commit is contained in:
Loïc Grégoire
2026-03-25 17:20:50 -04:00
parent d59cb46154
commit b038bbc46c
4 changed files with 145 additions and 10 deletions
+11
View File
@@ -59,6 +59,14 @@ pub const BootInfo = struct {
entries: [256]Entry,
};
pub const Framebuffer = struct {
address: usize,
width: u32,
height: u32,
pitch: u32,
bpp: u8,
};
pub const KernelAddress = struct { physical_base: usize, virtual_base: usize };
/// RSDP on ACPI machines
@@ -70,6 +78,9 @@ pub const BootInfo = struct {
/// Memory map
memory_map: MemMap,
/// Framebuffer info, if available
framebuffer: ?Framebuffer,
/// Kernel address
kernel_address: KernelAddress,
};