VirtualBox

Changeset 24799 in vbox for trunk


Ignore:
Timestamp:
Nov 19, 2009 3:52:31 PM (15 years ago)
Author:
vboxsync
Message:

PGM/darwin: Fixed SMP in non-release builds.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/vm.h

    r24722 r24799  
    211211        struct PGMCPU       s;
    212212#endif
    213         uint8_t             padding[28*1024];   /* multiple of 4096 */
     213        uint8_t             padding[32*1024];   /* multiple of 4096 */
    214214    } pgm;
    215215
  • trunk/src/VBox/VMM/PGMInternal.h

    r24793 r24799  
    15641564    /** The index of the current CPU, only valid if the set is open. */
    15651565    int32_t                     iCpu;
    1566 #if HC_ARCH_BITS == 64
    15671566    uint32_t                    alignment;
    1568 #endif
    15691567    /** The entries. */
    15701568    PGMMAPSETENTRY              aEntries[64];
     
    15741572    uint8_t                     aiHashTable[128];
    15751573} PGMMAPSET;
     1574AssertCompileSizeAlignment(PGMMAPSET, 8);
    15761575/** Pointer to the mapping cache set. */
    15771576typedef PGMMAPSET *PPGMMAPSET;
     
    29722971    /** The guest's page directory pointer table, R0 pointer. */
    29732972    R0PTRTYPE(PX86PML4)             pGstAmd64Pml4R0;
     2973#else
     2974    RTR0PTR                         alignment6b; /**< alignment equalizer. */
    29742975#endif
    29752976    /** @} */
  • trunk/src/VBox/VMM/testcase/Makefile.kmk

    r23672 r24799  
    9898tstVMStructGC_TEMPLATE  = VBOXGCEXE
    9999tstVMStructGC_DEFS      = IN_VMM_RC IN_DIS IN_RT_RC IN_RT_GC
     100tstVMStructGC_DEFS.darwin.x86 = \
     101        VBOX_WITH_2X_4GB_ADDR_SPACE   VBOX_WITH_2X_4GB_ADDR_SPACE_IN_RC \
     102        VBOX_WITH_HYBRID_32BIT_KERNEL VBOX_WITH_HYBRID_32BIT_KERNEL_IN_RC
    100103ifdef VBOX_WITH_R0_LOGGING
    101104tstVMStructGC_DEFS     += VBOX_WITH_R0_LOGGING
     
    106109tstVMStructSize_TEMPLATE= VBOXR3AUTOTST
    107110tstVMStructSize_DEFS    = IN_VMM_R3 IN_DIS
     111tstVMStructSize_DEFS.darwin.x86 = \
     112        VBOX_WITH_2X_4GB_ADDR_SPACE   VBOX_WITH_2X_4GB_ADDR_SPACE_IN_R3 \
     113        VBOX_WITH_HYBRID_32BIT_KERNEL VBOX_WITH_HYBRID_32BIT_KERNEL_IN_R3
    108114tstVMStructSize_INCS    = $(VBOX_PATH_VMM_SRC) $(VBOX_PATH_VMM_SRC)/PATM $(VBOX_VMM_TESTCASE_OUT_DIR)
    109115tstVMStructSize_SOURCES = tstVMStructSize.cpp
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