From 5a4db78897063e5b09a676b02fec3ba4a2965921 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 25 Oct 2019 23:26:29 +0200 Subject: Rewrite of paging and alloc functions Still not working though :/ --- src/kernel/graphics/vesa.h | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/kernel/graphics/vesa.h') diff --git a/src/kernel/graphics/vesa.h b/src/kernel/graphics/vesa.h index 0a8bd60..9ebc435 100644 --- a/src/kernel/graphics/vesa.h +++ b/src/kernel/graphics/vesa.h @@ -39,12 +39,12 @@ struct edid_data { */ struct vbe_info { char signature[4]; - uint32_t version; - struct far_ptr oem; + uint16_t version; + uint32_t oem; uint32_t capabilities; - struct far_ptr video_modes; - uint32_t video_memory; - uint32_t software_rev; + uint32_t video_modes; + uint16_t video_memory; + uint16_t software_rev; uint32_t vendor; uint32_t product_name; uint32_t product_rev; @@ -115,7 +115,6 @@ struct vbe_mode_info { */ struct edid_data get_edid(); - /** * Forces switch to VGA, displays an error and halts the CPU */ -- cgit v1.2.3