diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2016-08-05 11:14:58 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-08-05 11:28:19 -0400 |
commit | 2f2ec113beac2b9b1614a25a0992b03bf599eac5 (patch) | |
tree | 76bea95e2c00159b2612c4f1fdaf34d25003f31c /vgasrc/vgautil.h | |
parent | 536129ac3a434409cf9881706c55d7efd67b231e (diff) | |
download | seabios-2f2ec113beac2b9b1614a25a0992b03bf599eac5.tar.gz |
vgautil: Add new header file with misc function and variable definitions
Move the generic function and variable definitions from vgabios.h to a
new file vgautil.h. This reduces the size and complexity of
vgabios.h.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'vgasrc/vgautil.h')
-rw-r--r-- | vgasrc/vgautil.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/vgasrc/vgautil.h b/vgasrc/vgautil.h new file mode 100644 index 00000000..9e4debbd --- /dev/null +++ b/vgasrc/vgautil.h @@ -0,0 +1,30 @@ +// Misc function and variable declarations. +#ifndef __VGAUTIL_H +#define __VGAUTIL_H + +#include "types.h" // u8 + +// swcursor.c +struct bregs; +void swcursor_pre_handle10(struct bregs *regs); +void swcursor_check_event(void); + +// vbe.c +extern u32 VBE_total_memory; +extern u32 VBE_capabilities; +extern u32 VBE_framebuffer; +extern u16 VBE_win_granularity; +void handle_104f(struct bregs *regs); + +// vgafonts.c +extern u8 vgafont8[]; +extern u8 vgafont14[]; +extern u8 vgafont16[]; +extern u8 vgafont14alt[]; +extern u8 vgafont16alt[]; + +// vgainit.c +extern int VgaBDF; +extern int HaveRunInit; + +#endif // vgautil.h |