Changeset 108134 in vbox
- Timestamp:
- Feb 10, 2025 11:43:35 AM (2 months ago)
- svn:sync-xref-src-repo-rev:
- 167435
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/PGMAll.cpp
r108132 r108134 65 65 #ifdef VBOX_VMM_TARGET_X86 66 66 DECLINLINE(int) pgmShwGetLongModePDPtr(PVMCPUCC pVCpu, RTGCPTR64 GCPtr, PX86PML4E *ppPml4e, PX86PDPT *ppPdpt, PX86PDPAE *ppPD); 67 # ifndef VBOX_WITH_ONLY_PGM_NEM_MODE 67 68 DECLINLINE(int) pgmShwGetPaePoolPagePD(PVMCPUCC pVCpu, RTGCPTR GCPtr, PPGMPOOLPAGE *ppShwPde); 69 # endif 68 70 DECLINLINE(int) pgmGstMapCr3(PVMCPUCC pVCpu, RTGCPHYS GCPhysCr3, PRTHCPTR pHCPtrGuestCr3); 69 71 # ifdef VBOX_WITH_NESTED_HWVIRT_VMX_EPT … … 4048 4050 } 4049 4051 4052 # ifndef VBOX_WITH_ONLY_PGM_NEM_MODE 4050 4053 if (IS_PART_INCLUDED(6)) 4051 4054 { … … 4055 4058 cch += RTStrFormatNumber(&szTmp[cch], PGM_PAGE_GET_TD_IDX_NA(pPage), 16, 4, 0, RTSTR_F_ZEROPAD | RTSTR_F_16BIT); 4056 4059 } 4060 # endif 4057 4061 # undef IS_PART_INCLUDED 4058 4062 -
trunk/src/VBox/VMM/VMMAll/PGMAllBth.h
r107171 r108134 4217 4217 return 0; 4218 4218 #else 4219 unsigned cErrors = 0; 4220 PVMCC pVM = pVCpu->CTX_SUFF(pVM); 4221 PPGMPOOL pPool = pVM->pgm.s.CTX_SUFF(pPool); NOREF(pPool); 4219 unsigned cErrors = 0; 4220 PVMCC const pVM = pVCpu->CTX_SUFF(pVM); RT_NOREF(pVM); 4221 # ifndef VBOX_WITH_ONLY_PGM_NEM_MODE 4222 PPGMPOOL const pPool = pVM->pgm.s.CTX_SUFF(pPool); NOREF(pPool); 4223 # endif 4222 4224 4223 4225 # if PGM_GST_TYPE == PGM_TYPE_PAE -
trunk/src/VBox/VMM/include/PGMInternal.h
r108132 r108134 1909 1909 /** @} */ 1910 1910 1911 1912 #ifndef VBOX_WITH_ONLY_PGM_NEM_MODE /* No pool in NEM-only mode! */ 1911 1913 1912 1914 /** @name PGM Pool Indexes. … … 2509 2511 /** @} */ 2510 2512 2513 #endif /* !VBOX_WITH_ONLY_PGM_NEM_MODE - No pool in NEM-only mode! */ 2514 2511 2515 2512 2516 … … 3147 3151 /** RAM range TLB for R3. */ 3148 3152 R3PTRTYPE(PPGMRAMRANGE) apRamRangesTlb[PGM_RAMRANGE_TLB_ENTRIES]; 3153 #ifndef VBOX_WITH_ONLY_PGM_NEM_MODE 3149 3154 /** Shadow Page Pool - R3 Ptr. */ 3150 3155 R3PTRTYPE(PPGMPOOL) pPoolR3; 3151 3156 #else 3157 RTR3PTR ReservedPoolR3; 3158 #endif 3159 3160 #ifndef VBOX_WITH_ONLY_PGM_NEM_MODE 3152 3161 /** Shadow Page Pool - R0 Ptr. */ 3153 3162 R0PTRTYPE(PPGMPOOL) pPoolR0; 3163 #else 3164 RTR0PTR ReservedPoolR0; 3165 #endif 3154 3166 3155 3167 /** Hack: Number of deprecated page mapping locks taken by the current lock … … 3859 3871 /** @} */ 3860 3872 3873 # ifndef VBOX_WITH_ONLY_PGM_NEM_MODE 3861 3874 /** @name PGM Pool related stuff. 3862 3875 * @{ */ … … 3868 3881 RTR0MEMOBJ ahPoolMapObjs[(PGMPOOL_IDX_LAST + PGMPOOL_CFG_MAX_GROW - 1) / PGMPOOL_CFG_MAX_GROW]; 3869 3882 /** @} */ 3883 # endif 3870 3884 3871 3885 /** Physical access handler types for ring-0. -
trunk/src/VBox/VMM/testcase/tstVMStructSize.cpp
r107650 r108134 322 322 CHECK_MEMBER_ALIGNMENT(PGMCPU, Dis, 8); 323 323 CHECK_MEMBER_ALIGNMENT(PGMCPU, cPoolAccessHandler, 8); 324 #ifndef VBOX_WITH_ONLY_PGM_NEM_MODE 324 325 CHECK_MEMBER_ALIGNMENT(PGMPOOLPAGE, idx, sizeof(uint16_t)); 325 326 CHECK_MEMBER_ALIGNMENT(PGMPOOLPAGE, pvPageR3, sizeof(RTHCPTR)); 326 327 CHECK_MEMBER_ALIGNMENT(PGMPOOLPAGE, GCPhys, sizeof(RTGCPHYS)); 328 #endif 327 329 CHECK_SIZE(PGMPAGE, 16); 328 330 CHECK_MEMBER_ALIGNMENT(PGMRAMRANGE, aPages, 16);
Note:
See TracChangeset
for help on using the changeset viewer.