summaryrefslogtreecommitdiff
path: root/hw/sun4u.c
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-06-18 19:41:28 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2006-06-18 19:41:28 +0000
commit75956cf032c707155419729ea47179ef1bc357af (patch)
tree9635b03fe5d1dc320f6277ae6e7689a9086279fd /hw/sun4u.c
parentded3ab80dd384715dff3741e4ac8a015933cb180 (diff)
downloadqemu-75956cf032c707155419729ea47179ef1bc357af.tar.gz
Sun4u vga+bios tweaks (Blue Swirl).
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1994 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'hw/sun4u.c')
-rw-r--r--hw/sun4u.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/hw/sun4u.c b/hw/sun4u.c
index 22ab4e1d72..6d413691db 100644
--- a/hw/sun4u.c
+++ b/hw/sun4u.c
@@ -27,7 +27,7 @@
#define KERNEL_LOAD_ADDR 0x00404000
#define CMDLINE_ADDR 0x003ff000
#define INITRD_LOAD_ADDR 0x00300000
-#define PROM_SIZE_MAX (256 * 1024)
+#define PROM_SIZE_MAX (512 * 1024)
#define PROM_ADDR 0x1fff0000000ULL
#define APB_SPECIAL_BASE 0x1fe00000000ULL
#define APB_MEM_BASE 0x1ff00000000ULL
@@ -326,10 +326,7 @@ static void sun4u_init(int ram_size, int vga_ram_size, int boot_device,
}
pci_bus = pci_apb_init(APB_SPECIAL_BASE, APB_MEM_BASE, NULL);
isa_mem_base = VGA_BASE;
- vga_initialize(pci_bus, ds, phys_ram_base + ram_size, ram_size,
- vga_ram_size, 0, 0);
- cpu_register_physical_memory(VGA_BASE, vga_ram_size, ram_size);
- //pci_cirrus_vga_init(pci_bus, ds, phys_ram_base + ram_size, ram_size, vga_ram_size);
+ pci_cirrus_vga_init(pci_bus, ds, phys_ram_base + ram_size, ram_size, vga_ram_size);
for(i = 0; i < MAX_SERIAL_PORTS; i++) {
if (serial_hds[i]) {