summaryrefslogtreecommitdiff
path: root/include/shim.h
diff options
context:
space:
mode:
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];