X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=vgasrc%2Fvgabios.h;h=d0af248b9503c13ce7bf73fd883d9125d3942e65;hb=2c23a7ab6a1b1616835715949144c9adab331186;hp=8b806ff144b0aaca59ff40cca678fb7426dc0717;hpb=83047be58ee787b2f3651f6b40e08d54371ecd3a;p=seabios.git diff --git a/vgasrc/vgabios.h b/vgasrc/vgabios.h index 8b806ff..d0af248 100644 --- a/vgasrc/vgabios.h +++ b/vgasrc/vgabios.h @@ -40,9 +40,17 @@ struct saveBDAstate { #define MM_DIRECT 0x06 #define MM_YUV 0x07 +struct vgamode_s { + u8 memmodel; + u16 width; + u16 height; + u8 depth; + u8 cwidth; + u8 cheight; + u16 sstart; +}; + // vgatables.c -struct vgamode_s; -struct vgamode_s *find_vga_entry(u8 mode); void build_video_param(void); extern struct VideoSavePointer_s video_save_pointer_table; extern u8 static_functionality[]; @@ -75,21 +83,15 @@ void vgafb_write_pixel(u8 color, u16 x, u16 y); u8 vgafb_read_pixel(u16 x, u16 y); // vbe.c +int VBE_enabled; +u32 VBE_total_memory; +u32 VBE_capabilities; +u32 VBE_framebuffer; +u16 VBE_win_granularity; #define VBE_OEM_STRING "SeaBIOS VBE(C) 2011" #define VBE_VENDOR_STRING "SeaBIOS Developers" #define VBE_PRODUCT_STRING "SeaBIOS VBE Adapter" #define VBE_REVISION_STRING "Rev. 1" - -struct vbe_modeinfo -{ - u16 width; - u16 height; - u8 depth; - u16 linesize; - u32 phys_base; - u32 vram_size; -}; - struct bregs; void handle_104f(struct bregs *regs);