VirtualBox

Changeset 19314 in vbox for trunk


Ignore:
Timestamp:
May 4, 2009 3:25:23 AM (16 years ago)
Author:
vboxsync
Message:

DevPCI.cpp: Temporary EFI hack for fixing VGA detection.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Devices/Bus/DevPCI.cpp

    r16745 r19314  
    933933                /* VGA: map frame buffer to default Bochs VBE address */
    934934                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)
     941                                  | 1 /* Enable I/O space access. */);
     942#endif
    935943                break;
    936944            case 0x0800:
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette