diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2012-01-14 23:15:40 -0500 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2012-01-16 12:01:12 -0500 |
commit | aad3b695b782534908bfce0f0f60314cb4ea3694 (patch) | |
tree | facff997fc866dca314600cea7f72e50659b0f3b /vgasrc/vgabios.h | |
parent | efb4523d4b65999970fd3d07ac5db36b46a27daa (diff) | |
download | seabios-aad3b695b782534908bfce0f0f60314cb4ea3694.tar.gz |
vgabios: Move video_param_table definition to vgabios.c.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'vgasrc/vgabios.h')
-rw-r--r-- | vgasrc/vgabios.h | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/vgasrc/vgabios.h b/vgasrc/vgabios.h index 3f86146d..a10198d3 100644 --- a/vgasrc/vgabios.h +++ b/vgasrc/vgabios.h @@ -4,6 +4,21 @@ #include "types.h" // u8 #include "farptr.h" // struct segoff_s +// standard BIOS Video Parameter Table +struct VideoParam_s { + u8 twidth; + u8 theightm1; + u8 cheight; + u16 slength; + u8 sequ_regs[4]; + u8 miscreg; + u8 crtc_regs[25]; + u8 actl_regs[20]; + u8 grdc_regs[9]; +} PACKED; + +extern struct VideoParam_s video_param_table[29]; + struct saveBDAstate { u8 video_mode; u16 video_cols; @@ -50,10 +65,6 @@ struct vgamode_s { u16 sstart; }; -// vgatables.c -void build_video_param(void); -extern struct VideoSavePointer_s video_save_pointer_table; - // vgafonts.c extern u8 vgafont8[]; extern u8 vgafont14[]; |