Changeset 91960 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Oct 21, 2021 3:01:54 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/PC/DevPcBios.cpp
r91897 r91960 769 769 uint32_t u32; 770 770 unsigned i; 771 PUVM pUVM = PDMDevHlpGetUVM(pDevIns); AssertRelease(pUVM);772 771 PPDMIMEDIA apHDs[4] = {0}; 773 772 LogFlow(("pcbiosInitComplete:\n")); … … 862 861 { 863 862 PPDMIBASE pBase; 864 int rc = PDM R3QueryLun(pUVM, pThis->pszFDDevice, 0, i, &pBase);863 int rc = PDMDevHlpQueryLun(pDevIns, pThis->pszFDDevice, 0, i, &pBase); 865 864 if (RT_SUCCESS(rc)) 866 865 { … … 904 903 { 905 904 PPDMIBASE pBase; 906 int rc = PDM R3QueryLun(pUVM, pThis->pszHDDevice, 0, i, &pBase);905 int rc = PDMDevHlpQueryLun(pDevIns, pThis->pszHDDevice, 0, i, &pBase); 907 906 if (RT_SUCCESS(rc)) 908 907 apHDs[i] = PDMIBASE_QUERY_INTERFACE(pBase, PDMIMEDIA); … … 965 964 { 966 965 PPDMIBASE pBase; 967 int rc = PDM R3QueryLun(pUVM, pThis->pszSataDevice, 0, pThis->iSataHDLUN[i], &pBase);966 int rc = PDMDevHlpQueryLun(pDevIns, pThis->pszSataDevice, 0, pThis->iSataHDLUN[i], &pBase); 968 967 if (RT_SUCCESS(rc)) 969 968 apHDs[i] = PDMIBASE_QUERY_INTERFACE(pBase, PDMIMEDIA); … … 1019 1018 { 1020 1019 PPDMIBASE pBase; 1021 int rc = PDM R3QueryLun(pUVM, pThis->pszScsiDevice, 0, pThis->iScsiHDLUN[i], &pBase);1020 int rc = PDMDevHlpQueryLun(pDevIns, pThis->pszScsiDevice, 0, pThis->iScsiHDLUN[i], &pBase); 1022 1021 if (RT_SUCCESS(rc)) 1023 1022 apHDs[i] = PDMIBASE_QUERY_INTERFACE(pBase, PDMIMEDIA); … … 1501 1500 * Get the CPU arch so we can load the appropriate ROMs. 1502 1501 */ 1503 PVM pVM = PDMDevHlpGetVM(pDevIns); 1504 CPUMMICROARCH const enmMicroarch = pVM ? CPUMGetGuestMicroarch(pVM) : kCpumMicroarch_Intel_P6; 1502 CPUMMICROARCH const enmMicroarch = pVM ? PDMDevHlpCpuGetGuestMicroarch(pDevIns) : kCpumMicroarch_Intel_P6; 1505 1503 1506 1504 if (pThis->pszPcBiosFile)
Note:
See TracChangeset
for help on using the changeset viewer.