Revision 4eccfec4
b/hw/vmware_vga.c | ||
---|---|---|
114 | 114 |
# define SVGA_IO_BASE SVGA_LEGACY_BASE_PORT |
115 | 115 |
# define SVGA_IO_MUL 1 |
116 | 116 |
# define SVGA_FIFO_SIZE 0x10000 |
117 |
# define SVGA_MEM_BASE 0xe0000000 |
|
118 | 117 |
# define SVGA_PCI_DEVICE_ID PCI_DEVICE_ID_VMWARE_SVGA2 |
119 | 118 |
#else |
120 | 119 |
# define SVGA_ID SVGA_ID_1 |
121 | 120 |
# define SVGA_IO_BASE SVGA_LEGACY_BASE_PORT |
122 | 121 |
# define SVGA_IO_MUL 4 |
123 | 122 |
# define SVGA_FIFO_SIZE 0x10000 |
124 |
# define SVGA_MEM_BASE 0xe0000000 |
|
125 | 123 |
# define SVGA_PCI_DEVICE_ID PCI_DEVICE_ID_VMWARE_SVGA |
126 | 124 |
#endif |
127 | 125 |
|
... | ... | |
1219 | 1217 |
vga_init(&s->vga); |
1220 | 1218 |
vmstate_register(NULL, 0, &vmstate_vga_common, &s->vga); |
1221 | 1219 |
|
1222 |
vga_init_vbe(&s->vga); |
|
1223 |
|
|
1224 |
rom_add_vga(VGABIOS_FILENAME); |
|
1225 |
|
|
1226 | 1220 |
vmsvga_reset(s); |
1227 | 1221 |
} |
1228 | 1222 |
|
... | ... | |
1320 | 1314 |
.qdev.size = sizeof(struct pci_vmsvga_state_s), |
1321 | 1315 |
.qdev.vmsd = &vmstate_vmware_vga, |
1322 | 1316 |
.init = pci_vmsvga_initfn, |
1317 |
.romfile = "vgabios-vmware.bin", |
|
1323 | 1318 |
}; |
1324 | 1319 |
|
1325 | 1320 |
static void vmsvga_register(void) |
Also available in: Unified diff