summaryrefslogtreecommitdiff
path: root/src/VBox/VMM/VMMR3/PDMDevice.cpp
diff options
context:
space:
mode:
authorvboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2016-10-23 19:03:39 +0000
committervboxsync <vboxsync@cfe28804-0f27-0410-a406-dd0f0b0b656f>2016-10-23 19:03:39 +0000
commite165fdd23c39f575a6cbef0ba8b9eb263ec27b96 (patch)
tree66fbb136bfaddfc1ba9e924220ed0f8589c6c1ae /src/VBox/VMM/VMMR3/PDMDevice.cpp
parent8ce1faa56280bd07006a7552c408227eb22e6604 (diff)
downloadVirtualBox-svn-e165fdd23c39f575a6cbef0ba8b9eb263ec27b96.tar.gz
PDM,Devices: Support for multiple PCI devices/function in a single PDM device.
git-svn-id: https://www.virtualbox.org/svn/vbox/trunk@64373 cfe28804-0f27-0410-a406-dd0f0b0b656f
Diffstat (limited to 'src/VBox/VMM/VMMR3/PDMDevice.cpp')
-rw-r--r--src/VBox/VMM/VMMR3/PDMDevice.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/VBox/VMM/VMMR3/PDMDevice.cpp b/src/VBox/VMM/VMMR3/PDMDevice.cpp
index 3459d2e7797..8e0b501ccc1 100644
--- a/src/VBox/VMM/VMMR3/PDMDevice.cpp
+++ b/src/VBox/VMM/VMMR3/PDMDevice.cpp
@@ -331,12 +331,9 @@ int pdmR3DevInit(PVM pVM)
pDevIns->Internal.s.pVMRC = pVM->pVMRC;
//pDevIns->Internal.s.pLunsR3 = NULL;
pDevIns->Internal.s.pCfgHandle = paDevs[i].pNode;
- //pDevIns->Internal.s.pPciDeviceR3 = NULL;
- //pDevIns->Internal.s.pPciBusR3 = NULL;
- //pDevIns->Internal.s.pPciDeviceR0 = 0;
- //pDevIns->Internal.s.pPciBusR0 = 0;
- //pDevIns->Internal.s.pPciDeviceRC = 0;
- //pDevIns->Internal.s.pPciBusRC = 0;
+ //pDevIns->Internal.s.pHeadPciDevR3 = NULL;
+ //pDevIns->Internal.s.pHeadPciDevR0 = 0;
+ //pDevIns->Internal.s.pHeadPciDevRC = 0;
pDevIns->Internal.s.fIntFlags = PDMDEVINSINT_FLAGS_SUSPENDED;
//pDevIns->Internal.s.uLastIrqTag = 0;
pDevIns->pHlpR3 = fTrusted ? &g_pdmR3DevHlpTrusted : &g_pdmR3DevHlpUnTrusted;