summaryrefslogtreecommitdiff
path: root/include/shim.h
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2024-02-03 00:50:07 -0500
committerFreya Murphy <freya@freyacat.org>2024-02-03 00:53:58 -0500
commit90a6065691beee52bf5309916fba98f7580d27be (patch)
tree0b5375d20c189f62d394c473d371f7bf7f1d3fc5 /include/shim.h
parentimproved debugger, refactored (diff)
downloadcorn-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.h15
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];