aboutsummaryrefslogtreecommitdiffstats
path: root/vgasrc/vbe.c
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2016-08-05 11:14:58 -0400
committerKevin O'Connor <kevin@koconnor.net>2016-08-05 11:28:19 -0400
commit2f2ec113beac2b9b1614a25a0992b03bf599eac5 (patch)
tree76bea95e2c00159b2612c4f1fdaf34d25003f31c /vgasrc/vbe.c
parent536129ac3a434409cf9881706c55d7efd67b231e (diff)
downloadseabios-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/vbe.c')
-rw-r--r--vgasrc/vbe.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/vgasrc/vbe.c b/vgasrc/vbe.c
index af3d0ccb..facad198 100644
--- a/vgasrc/vbe.c
+++ b/vgasrc/vbe.c
@@ -12,8 +12,14 @@
#include "output.h" // dprintf
#include "std/vbe.h" // struct vbe_info
#include "string.h" // memset_far
-#include "vgabios.h" // handle_104f
+#include "vgabios.h" // get_current_mode
#include "vgahw.h" // vgahw_set_mode
+#include "vgautil.h" // handle_104f
+
+#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"
u32 VBE_total_memory VAR16 = 256 * 1024;
u32 VBE_capabilities VAR16;