Changeset 91897 in vbox for trunk/src/VBox/Devices/PC
- Timestamp:
- Oct 20, 2021 1:42:39 PM (3 years ago)
- Location:
- trunk/src/VBox/Devices/PC
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/ACPI/VBoxAcpi.cpp
r91885 r91897 347 347 RTFileClose(hFileAml); 348 348 } 349 MMR3HeapFree(pszAmlFilePath);349 PDMDevHlpMMHeapFree(pDevIns, pszAmlFilePath); 350 350 } 351 351 -
trunk/src/VBox/Devices/PC/DevACPI.cpp
r91238 r91897 3774 3774 * The latter starts never below 4G. 3775 3775 */ 3776 PVM pVM = PDMDevHlpGetVM(pDevIns); 3777 uint32_t cbBelow4GB = MMR3PhysGetRamSizeBelow4GB(pVM); 3778 uint64_t const cbAbove4GB = MMR3PhysGetRamSizeAbove4GB(pVM); 3779 3780 pThis->u64RamSize = MMR3PhysGetRamSize(pVM); 3776 uint32_t cbBelow4GB = PDMDevHlpMMPhysGetRamSizeBelow4GB(pDevIns); 3777 uint64_t const cbAbove4GB = PDMDevHlpMMPhysGetRamSizeAbove4GB(pDevIns); 3778 3779 pThis->u64RamSize = PDMDevHlpMMPhysGetRamSize(pDevIns); 3781 3780 if (pThis->fPciPref64Enabled) 3782 3781 { -
trunk/src/VBox/Devices/PC/DevFwCommon.cpp
r85948 r91897 826 826 * DMI Physical Memory Array (Type 16) * 827 827 ***************************************/ 828 uint64_t const cbRamSize = MMR3PhysGetRamSize(PDMDevHlpGetVM(pDevIns));828 uint64_t const cbRamSize = PDMDevHlpMMPhysGetRamSize(pDevIns); 829 829 830 830 PDMIRAMARRAY pMemArray = (PDMIRAMARRAY)pszStr; -
trunk/src/VBox/Devices/PC/DevPcArch.cpp
r82968 r91897 244 244 pcarchReservedMemoryWrite, pcarchReservedMemoryRead, 245 245 IOMMMIO_FLAGS_READ_PASSTHRU | IOMMMIO_FLAGS_WRITE_PASSTHRU | IOMMMIO_FLAGS_ABS, 246 MMR3HeapAPrintf(pVM, MM_TAG_PGM_PHYS /* bad bird*/, "PC Arch Reserved #%u", iRegion),246 PDMDevHlpMMHeapAPrintf(pDevIns, MM_TAG_PGM_PHYS /* bad bird*/, "PC Arch Reserved #%u", iRegion), 247 247 &hMmioRegion); 248 248 AssertLogRelRCReturn(rc, rc); -
trunk/src/VBox/Devices/PC/DevPcBios.cpp
r91566 r91897 773 773 LogFlow(("pcbiosInitComplete:\n")); 774 774 775 PVM pVM = PDMDevHlpGetVM(pDevIns); 776 uint64_t const cbRamSize = MMR3PhysGetRamSize(pVM); 777 uint32_t const cbBelow4GB = MMR3PhysGetRamSizeBelow4GB(pVM); 778 uint64_t const cbAbove4GB = MMR3PhysGetRamSizeAbove4GB(pVM); 775 uint64_t const cbRamSize = PDMDevHlpMMPhysGetRamSize(pDevIns); 776 uint32_t const cbBelow4GB = PDMDevHlpMMPhysGetRamSizeBelow4GB(pDevIns); 777 uint64_t const cbAbove4GB = PDMDevHlpMMPhysGetRamSizeAbove4GB(pDevIns); 779 778 780 779 /* -
trunk/src/VBox/Devices/PC/DevQemuFwCfg.cpp
r86034 r91897 323 323 else 324 324 LogRel(("QemuFwCfg: Failed to open file \"%s\" -> %Rrc\n", pszFilePath, rc)); 325 MMR3HeapFree(pszFilePath);325 PDMDevHlpMMHeapFree(pThis->pDevIns, pszFilePath); 326 326 } 327 327 else … … 405 405 else 406 406 LogRel(("QemuFwCfg: Failed to open file \"%s\" -> %Rrc\n", pszFilePath, rc)); 407 MMR3HeapFree(pszFilePath);407 PDMDevHlpMMHeapFree(pThis->pDevIns, pszFilePath); 408 408 } 409 409 else
Note:
See TracChangeset
for help on using the changeset viewer.