Changeset 63663 in vbox
- Timestamp:
- Aug 30, 2016 1:47:18 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 110406
- Location:
- trunk/src/VBox/Devices/Bus
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Bus/DevPCI.cpp
r62889 r63663 50 50 #include <VBox/pci.h> 51 51 #include <VBox/vmm/pdmdev.h> 52 #include <VBox/vmm/mm.h> 52 53 #include <iprt/asm.h> 53 54 #include <iprt/assert.h> … … 1868 1869 static DECLCALLBACK(int) pciR3FakePCIBIOS(PPDMDEVINS pDevIns) 1869 1870 { 1870 unsigned i; 1871 uint8_t elcr[2] = {0, 0}; 1872 PPCIGLOBALS pGlobals = PDMINS_2_DATA(pDevIns, PPCIGLOBALS); 1873 PVM pVM = PDMDevHlpGetVM(pDevIns); Assert(pVM); 1874 PVMCPU pVCpu = PDMDevHlpGetVMCPU(pDevIns); Assert(pVM); 1871 unsigned i; 1872 uint8_t elcr[2] = {0, 0}; 1873 PPCIGLOBALS pGlobals = PDMINS_2_DATA(pDevIns, PPCIGLOBALS); 1874 PVM pVM = PDMDevHlpGetVM(pDevIns); Assert(pVM); 1875 PVMCPU pVCpu = PDMDevHlpGetVMCPU(pDevIns); Assert(pVM); 1876 uint32_t const cbBelow4GB = MMR3PhysGetRamSizeBelow4GB(pVM); 1877 uint64_t const cbAbove4GB = MMR3PhysGetRamSizeAbove4GB(pVM); 1878 RT_NOREF(cbBelow4GB, cbAbove4GB); 1875 1879 1876 1880 /* -
trunk/src/VBox/Devices/Bus/DevPciIch9.cpp
r63661 r63663 30 30 #include <VBox/msi.h> 31 31 #include <VBox/vmm/pdmdev.h> 32 #include <VBox/vmm/mm.h> 32 33 #include <iprt/asm.h> 33 34 #include <iprt/assert.h> … … 1959 1960 static DECLCALLBACK(int) ich9pciFakePCIBIOS(PPDMDEVINS pDevIns) 1960 1961 { 1961 PICH9PCIGLOBALS pGlobals = PDMINS_2_DATA(pDevIns, PICH9PCIGLOBALS); 1962 PICH9PCIGLOBALS pGlobals = PDMINS_2_DATA(pDevIns, PICH9PCIGLOBALS); 1963 PVM pVM = PDMDevHlpGetVM(pDevIns); 1964 uint32_t const cbBelow4GB = MMR3PhysGetRamSizeBelow4GB(pVM); 1965 uint64_t const cbAbove4GB = MMR3PhysGetRamSizeAbove4GB(pVM); 1966 RT_NOREF(cbBelow4GB, cbAbove4GB); 1962 1967 1963 1968 /*
Note:
See TracChangeset
for help on using the changeset viewer.