VirtualBox

Changeset 29993 in vbox


Ignore:
Timestamp:
Jun 2, 2010 1:01:12 PM (15 years ago)
Author:
vboxsync
Message:

Sigh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxService/VBoxServicePageSharing.cpp

    r29991 r29993  
    194194                        }
    195195                    }
    196 #ifdef GC_ARCH_BITS == 64
     196#ifdef RT_ARCH_X86
     197                    aRegions[idxRegion].GCRegionAddr = (RTGCPTR32)MemInfo.BaseAddress;
     198#else
    197199                    aRegions[idxRegion].GCRegionAddr = (RTGCPTR64)MemInfo.BaseAddress;
    198 #else
    199                     aRegions[idxRegion].GCRegionAddr = (RTGCPTR32)MemInfo.BaseAddress;
    200200#endif
    201201                    aRegions[idxRegion].cbRegion     = MemInfo.RegionSize;
     
    229229    {
    230230        /* 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
    232234        aRegions[idxRegion].GCRegionAddr = (RTGCPTR64)pBaseAddress;
    233 #else
    234         aRegions[idxRegion].GCRegionAddr = (RTGCPTR32)pBaseAddress;
    235235#endif
    236236        aRegions[idxRegion].cbRegion     = dwModuleSize;
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette