Changeset 68369 in vbox
- Timestamp:
- Aug 10, 2017 1:15:16 PM (7 years ago)
- File:
-
- 1 edited
-
trunk/src/VBox/Devices/Storage/DevATA.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DevATA.cpp
r67959 r68369 7372 7372 } 7373 7373 7374 /** @todo 7375 * This is the job of the BIOS / EFI! 7376 * 7377 * The same is done in DevPCI.cpp / pci_bios_init_device() but there is no 7378 * corresponding function in DevPciIch9.cpp. The EFI has corresponding code 7379 * in OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c: NotifyDev() but this 7380 * function assumes that the IDE controller is located at PCI 00:01.1 which 7381 * is not true if the ICH9 chipset is used. 7382 */ 7383 PCIDevSetWord(&pThis->dev, 0x40, 0x8000); /* enable IDE0 */ 7384 PCIDevSetWord(&pThis->dev, 0x42, 0x8000); /* enable IDE1 */ 7385 7374 7386 PCIDevSetCommand( &pThis->dev, PCI_COMMAND_IOACCESS | PCI_COMMAND_MEMACCESS | PCI_COMMAND_BUSMASTER); 7375 7387 PCIDevSetClassProg( &pThis->dev, 0x8a); /* programming interface = PCI_IDE bus master is supported */
Note:
See TracChangeset
for help on using the changeset viewer.

