From 2ba649e5a472a48534e4acff589bf864b6a6823a Mon Sep 17 00:00:00 2001 From: TomAwezome Date: Sun, 28 Aug 2022 00:49:16 -0400 Subject: [PATCH] Remove now-unneeded VBE structs from ZealBooter. --- zealbooter/zealbooter.c | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/zealbooter/zealbooter.c b/zealbooter/zealbooter.c index 9f02cd54..d517d01b 100644 --- a/zealbooter/zealbooter.c +++ b/zealbooter/zealbooter.c @@ -77,31 +77,6 @@ struct CGDT { struct CGDTEntry tr_ring3[MP_PROCESSORS_NUM]; } __attribute__((packed)); -struct CVBEInfo { - uint8_t signature[4]; - uint16_t version; - uint32_t oem, capabilities, video_modes; - uint16_t total_memory, software_revision; - uint32_t vendor, product_name, product_revision; - uint8_t reserved[222], oem_data[256]; -} __attribute__((packed)); - -struct CVBEModeShort { - uint16_t width, height, mode_num; - uint32_t max_pixel_clock; -} __attribute__((packed)); - -struct CVBEMode { - uint16_t attributes, pad0[7], pitch, width, height; - uint8_t pad1[3], bpp, pad2, memory_model, pad[12]; - uint32_t framebuffer; - uint16_t pad3[9]; - uint32_t max_pixel_clock; - uint8_t reserved[190]; -} __attribute__((packed)); - -#define VBE_MODES_NUM 32 - struct CSysLimitBase { uint16_t limit; uint8_t *base;