Revision deb54399 hw/vga.c
b/hw/vga.c | ||
---|---|---|
2512 | 2512 |
s->pci_dev = &d->dev; |
2513 | 2513 |
|
2514 | 2514 |
pci_conf = d->dev.config; |
2515 |
pci_conf[0x00] = 0x34; // dummy VGA (same as Bochs ID) |
|
2516 |
pci_conf[0x01] = 0x12; |
|
2517 |
pci_conf[0x02] = 0x11; |
|
2518 |
pci_conf[0x03] = 0x11; |
|
2515 |
pci_config_set_vendor_id(pci_conf, 0x1234); // dummy VGA (same as Bochs ID) |
|
2516 |
pci_config_set_device_id(pci_conf, 0x1111); |
|
2519 | 2517 |
pci_conf[0x0a] = 0x00; // VGA controller |
2520 | 2518 |
pci_conf[0x0b] = 0x03; |
2521 | 2519 |
pci_conf[0x0e] = 0x00; // header_type |
Also available in: Unified diff