Changeset 88290 in vbox for trunk/src/VBox
- Timestamp:
- Mar 25, 2021 11:54:08 AM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 143501
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp
r87766 r88290 1074 1074 { 1075 1075 return pVM->cpum.s.GuestFeatures.enmMicroarch; 1076 } 1077 1078 1079 /** 1080 * Gets the maximum number of physical and linear address bits supported by the 1081 * guest. 1082 * 1083 * @param pVM The cross context VM structure. 1084 * @param pcPhysAddrWidth Where to store the physical address width. 1085 * @param pcLinearAddrWidth Where to store the linear address width. 1086 */ 1087 VMMDECL(void) CPUMGetGuestAddrWidths(PCVM pVM, uint8_t *pcPhysAddrWidth, uint8_t *pcLinearAddrWidth) 1088 { 1089 AssertPtr(pVM); 1090 AssertReturnVoid(pcPhysAddrWidth); 1091 AssertReturnVoid(pcLinearAddrWidth); 1092 *pcPhysAddrWidth = pVM->cpum.s.GuestFeatures.cMaxPhysAddrWidth; 1093 *pcLinearAddrWidth = pVM->cpum.s.GuestFeatures.cMaxLinearAddrWidth; 1076 1094 } 1077 1095 -
trunk/src/VBox/VMM/VMMR3/PDMDevHlp.cpp
r88153 r88290 973 973 Log(("pdmR3DevHlp_CpuGetGuestMicroarch: caller='%s'/%d: returns %u\n", pDevIns->pReg->szName, pDevIns->iInstance, enmMicroarch)); 974 974 return enmMicroarch; 975 } 976 977 978 /** @interface_method_impl{PDMDEVHLPR3,pfnCpuGetGuestAddrWidths} */ 979 static DECLCALLBACK(void) pdmR3DevHlp_CpuGetGuestAddrWidths(PPDMDEVINS pDevIns, uint8_t *pcPhysAddrWidth, 980 uint8_t *pcLinearAddrWidth) 981 { 982 PDMDEV_ASSERT_DEVINS(pDevIns); 983 PVM pVM = pDevIns->Internal.s.pVMR3; 984 LogFlow(("pdmR3DevHlp_CpuGetGuestAddrWidths: caller='%s'/%d\n", pDevIns->pReg->szName, pDevIns->iInstance)); 985 AssertPtrReturnVoid(pcPhysAddrWidth); 986 AssertPtrReturnVoid(pcLinearAddrWidth); 987 988 CPUMGetGuestAddrWidths(pVM, pcPhysAddrWidth, pcLinearAddrWidth); 989 990 Log(("pdmR3DevHlp_CpuGetGuestAddrWidths: caller='%s'/%d: returns void\n", pDevIns->pReg->szName, pDevIns->iInstance)); 975 991 } 976 992 … … 4394 4410 pdmR3DevHlp_PhysBulkReleasePageMappingLocks, 4395 4411 pdmR3DevHlp_CpuGetGuestMicroarch, 4412 pdmR3DevHlp_CpuGetGuestAddrWidths, 4396 4413 0, 4397 4414 0, … … 4741 4758 pdmR3DevHlp_PhysBulkReleasePageMappingLocks, 4742 4759 pdmR3DevHlp_CpuGetGuestMicroarch, 4760 pdmR3DevHlp_CpuGetGuestAddrWidths, 4743 4761 0, 4744 4762 0, … … 5245 5263 pdmR3DevHlp_PhysBulkReleasePageMappingLocks, 5246 5264 pdmR3DevHlp_CpuGetGuestMicroarch, 5265 pdmR3DevHlp_CpuGetGuestAddrWidths, 5247 5266 0, 5248 5267 0,
Note:
See TracChangeset
for help on using the changeset viewer.