Changeset 29993 in vbox
- Timestamp:
- Jun 2, 2010 1:01:12 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServicePageSharing.cpp
r29991 r29993 194 194 } 195 195 } 196 #ifdef GC_ARCH_BITS == 64 196 #ifdef RT_ARCH_X86 197 aRegions[idxRegion].GCRegionAddr = (RTGCPTR32)MemInfo.BaseAddress; 198 #else 197 199 aRegions[idxRegion].GCRegionAddr = (RTGCPTR64)MemInfo.BaseAddress; 198 #else199 aRegions[idxRegion].GCRegionAddr = (RTGCPTR32)MemInfo.BaseAddress;200 200 #endif 201 201 aRegions[idxRegion].cbRegion = MemInfo.RegionSize; … … 229 229 { 230 230 /* We can't probe kernel memory ranges, so pretend it's one big region. */ 231 #ifdef GC_ARCH_BITS == 64 231 #ifdef RT_ARCH_X86 232 aRegions[idxRegion].GCRegionAddr = (RTGCPTR32)pBaseAddress; 233 #else 232 234 aRegions[idxRegion].GCRegionAddr = (RTGCPTR64)pBaseAddress; 233 #else234 aRegions[idxRegion].GCRegionAddr = (RTGCPTR32)pBaseAddress;235 235 #endif 236 236 aRegions[idxRegion].cbRegion = dwModuleSize;
Note:
See TracChangeset
for help on using the changeset viewer.