diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2014-10-23 16:24:36 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2014-10-27 11:03:12 -0400 |
commit | 63977905a05fe36deac4aee9ef28bec8a13be402 (patch) | |
tree | 4a8bd5b041b9772a5773f7c64eee08a96ae1537e /vgasrc/vgabios.h | |
parent | c5acee4d8da81b915f587586280d84d347b1e7df (diff) | |
download | seabios-63977905a05fe36deac4aee9ef28bec8a13be402.tar.gz |
vgabios: Move standard table definitions to std/vga.h
Move the standard video bios definitions into a new header file.
Also, define a struct with the layout for the static functionality
table.
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, 3 insertions, 16 deletions
diff --git a/vgasrc/vgabios.h b/vgasrc/vgabios.h index 0ec4a8e4..397225aa 100644 --- a/vgasrc/vgabios.h +++ b/vgasrc/vgabios.h @@ -3,21 +3,7 @@ #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]; +#include "std/vga.h" // struct video_param_s // Save/Restore flags #define SR_HARDWARE 0x0001 @@ -103,7 +89,8 @@ extern u8 vgafont14alt[]; extern u8 vgafont16alt[]; // vgainit.c -extern struct VideoSavePointer_s video_save_pointer_table; +extern struct video_save_pointer_s video_save_pointer_table; +extern struct video_param_s video_param_table[29]; // vgabios.c extern int VgaBDF; |