aboutsummaryrefslogtreecommitdiffstats
path: root/com32/mboot/mboot.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-11-13 20:16:43 -0800
committerH. Peter Anvin <hpa@zytor.com>2009-11-13 20:22:44 -0800
commit7b04ddff50bc4903d50ed570daf01422ebfaa6ed (patch)
tree94dc55c891e861e9fcae8b2ca417d7cefe3fa999 /com32/mboot/mboot.h
parent56e6eae7f4af352aaf33840fd652474098486ea6 (diff)
downloadsyslinux-7b04ddff50bc4903d50ed570daf01422ebfaa6ed.tar.gz
syslinux-7b04ddff50bc4903d50ed570daf01422ebfaa6ed.tar.xz
syslinux-7b04ddff50bc4903d50ed570daf01422ebfaa6ed.zip
mboot.c32: add VESA mode setting supportsyslinux-3.84-pre2
Add VESA mode setting support per the Multiboot specification. Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Diffstat (limited to 'com32/mboot/mboot.h')
-rw-r--r--com32/mboot/mboot.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/com32/mboot/mboot.h b/com32/mboot/mboot.h
index e5786206..993b31a8 100644
--- a/com32/mboot/mboot.h
+++ b/com32/mboot/mboot.h
@@ -79,7 +79,7 @@ extern struct my_options {
#define MAP_NOPAD 2
addr_t map_data(const void *data, size_t len, size_t align, int flags);
addr_t map_string(const char *string);
-int map_image(void *ptr, size_t len);
+struct multiboot_header *map_image(void *ptr, size_t len);
void mboot_run(int bootflags);
int init_map(void);
@@ -92,4 +92,8 @@ void mboot_apm(void);
/* solaris.c */
void mboot_solaris_dhcp_hack(void);
+/* initvesa.c */
+void set_graphics_mode(const struct multiboot_header *mbh,
+ struct multiboot_info *mbi);
+
#endif /* MBOOT_H */