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/vgainit.c | |
parent | c5acee4d8da81b915f587586280d84d347b1e7df (diff) | |
download | qemu-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/vgainit.c')
-rw-r--r-- | vgasrc/vgainit.c | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/vgasrc/vgainit.c b/vgasrc/vgainit.c index a16e81c..6ef19e1 100644 --- a/vgasrc/vgainit.c +++ b/vgasrc/vgainit.c @@ -15,22 +15,12 @@ #include "std/pmm.h" // struct pmmheader #include "string.h" // checksum_far #include "util.h" // VERSION -#include "vgabios.h" // struct VideoSavePointer_s +#include "vgabios.h" // video_save_pointer_table #include "vgahw.h" // vgahw_setup -// Standard Video Save Pointer Table -struct VideoSavePointer_s { - struct segoff_s videoparam; - struct segoff_s paramdynamicsave; - struct segoff_s textcharset; - struct segoff_s graphcharset; - struct segoff_s secsavepointer; - u8 reserved[8]; -} PACKED; +struct video_save_pointer_s video_save_pointer_table VAR16; -struct VideoSavePointer_s video_save_pointer_table VAR16; - -struct VideoParam_s video_param_table[29] VAR16; +struct video_param_s video_param_table[29] VAR16; // Type of emulator platform - for dprintf with certain compile options. int PlatformRunningOn VAR16; |