VirtualBox

Changeset 22935 in vbox


Ignore:
Timestamp:
Sep 10, 2009 11:43:12 PM (15 years ago)
Author:
vboxsync
Message:

build fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/MMInternal.h

    r22929 r22935  
    8888#endif
    8989} MMHEAPSTAT;
    90 #if defined(MMR3HEAP_WITH_STATISTICS) && !defined(IN_TSTVMSTRUCTGC)
     90#if defined(MMR3HEAP_WITH_STATISTICS) && !defined(IN_RING3)
    9191AssertCompileMemberAlignment(MMHEAPSTAT, cAllocations, 8);
    9292#endif
     
    178178    size_t                  cbCurAllocated;
    179179} MMUKHEAPSTAT;
     180#ifdef IN_RING3
    180181AssertCompileMemberAlignment(MMUKHEAPSTAT, cAllocations, 8);
     182#endif
    181183/** Pointer to heap statistics record. */
    182184typedef MMUKHEAPSTAT *PMMUKHEAPSTAT;
     
    220222    MMUKHEAPSTAT            Stat;
    221223} MMUKHEAP;
     224#ifdef IN_RING3
    222225AssertCompileMemberAlignment(MMUKHEAP, Stat, 8);
     226#endif
    223227/** Pointer to MM Heap structure. */
    224228typedef MMUKHEAP *PMMUKHEAP;
     
    568572#endif
    569573} MMPAGEPOOL;
     574#ifndef IN_RC
    570575AssertCompileMemberAlignment(MMPAGEPOOL, cSubPools, 4);
    571 #ifdef VBOX_WITH_STATISTICS
     576# ifdef VBOX_WITH_STATISTICS
    572577AssertCompileMemberAlignment(MMPAGEPOOL, cAllocCalls, 8);
     578# endif
    573579#endif
    574580/** Pointer to page pool. */
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