Changeset 23186 in vbox
- Timestamp:
- Sep 21, 2009 12:45:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPCI.cpp
r22793 r23186 933 933 /* VGA: map frame buffer to default Bochs VBE address */ 934 934 pci_set_io_region_addr(pGlobals, uBus, uDevFn, 0, 0xE0000000); 935 #ifdef VBOX_WITH_EFI 936 /* The following is necessary for the VGA check in 937 PciVgaMiniPortDriverBindingSupported to succeed. */ 938 /** @todo Seems we're missing some I/O registers or something on the VGA device... Compare real/virt hw with lspci. */ 939 pci_config_writew(pGlobals, uBus, uDevFn, PCI_COMMAND, 940 pci_config_readw(pGlobals, uBus, uDevFn, PCI_COMMAND) 935 /* 936 * Legacy VGA I/O ports are implicitly decoded by a VGA class device. But 937 * only the framebuffer (i.e., a memory region) is explicitly registered via 938 * pci_set_io_region_addr, so I/O decoding must be enabled manually. 939 */ 940 pci_config_writeb(pGlobals, uBus, uDevFn, PCI_COMMAND, 941 pci_config_readb(pGlobals, uBus, uDevFn, PCI_COMMAND) 941 942 | 1 /* Enable I/O space access. */); 942 #endif943 943 break; 944 944 case 0x0800:
Note:
See TracChangeset
for help on using the changeset viewer.