From 90a6065691beee52bf5309916fba98f7580d27be Mon Sep 17 00:00:00 2001 From: Freya Murphy Date: Sat, 3 Feb 2024 00:50:07 -0500 Subject: refactor, new arch dirs, (wip) page alloc on write, hsv screen (convert to userspace later), other fixes --- include/shim.h | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) (limited to 'include/shim.h') diff --git a/include/shim.h b/include/shim.h index 498de92..e445765 100644 --- a/include/shim.h +++ b/include/shim.h @@ -15,16 +15,17 @@ struct memory_map { struct memory_segment entries[MMAP_MAX_ENTRY]; }; -//struct framebuffer { -// uint64_t addr; -// uint32_t pitch; -// uint32_t width; -// uint32_t height; -// uint8_t bit_depth; -//}; +struct framebuffer { + uint64_t addr; + uint32_t pitch; + uint32_t width; + uint32_t height; + uint8_t bit_depth; +}; struct boot_info { struct memory_map map; + struct framebuffer fb; void *symbol_table; void *acpi_table; char cmdline[CMDLINE_MAX]; -- cgit v1.2.3-freya