diff options
author | Freya Murphy <freya@freyacat.org> | 2024-02-03 00:50:07 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2024-02-03 00:53:58 -0500 |
commit | 90a6065691beee52bf5309916fba98f7580d27be (patch) | |
tree | 0b5375d20c189f62d394c473d371f7bf7f1d3fc5 /include/shim.h | |
parent | improved debugger, refactored (diff) | |
download | corn-90a6065691beee52bf5309916fba98f7580d27be.tar.gz corn-90a6065691beee52bf5309916fba98f7580d27be.tar.bz2 corn-90a6065691beee52bf5309916fba98f7580d27be.zip |
refactor, new arch dirs, (wip) page alloc on write, hsv screen (convert to userspace later), other fixes
Diffstat (limited to 'include/shim.h')
-rw-r--r-- | include/shim.h | 15 |
1 files changed, 8 insertions, 7 deletions
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]; |