summaryrefslogtreecommitdiff
path: root/vl.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-07-03 14:00:51 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-07-03 14:00:51 +0000
commitd5295253b0d2baf190180b08c2a531021af91c99 (patch)
tree834843d9fb1fc969b2959a9e40f555f31c6d1aad /vl.h
parentfb3444b86cd84c8c0750d1df189aa76beec8e1d8 (diff)
downloadqemu-d5295253b0d2baf190180b08c2a531021af91c99.zip
VGA bios support for PowerPC
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1494 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'vl.h')
-rw-r--r--vl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/vl.h b/vl.h
index 6f6aba75b8..85d0cf4733 100644
--- a/vl.h
+++ b/vl.h
@@ -137,7 +137,7 @@ extern int win2k_install_hack;
/* XXX: make it dynamic */
#if defined (TARGET_PPC)
-#define BIOS_SIZE (512 * 1024)
+#define BIOS_SIZE ((512 + 32) * 1024)
#elif defined(TARGET_MIPS)
#define BIOS_SIZE (128 * 1024)
#else
@@ -596,7 +596,8 @@ static inline void dpy_resize(DisplayState *s, int w, int h)
}
int vga_initialize(PCIBus *bus, DisplayState *ds, uint8_t *vga_ram_base,
- unsigned long vga_ram_offset, int vga_ram_size);
+ unsigned long vga_ram_offset, int vga_ram_size,
+ unsigned long vga_bios_offset, int vga_bios_size);
void vga_update_display(void);
void vga_invalidate_display(void);
void vga_screen_dump(const char *filename);