VirtualBox

Changeset 11893 in vbox for trunk/src/VBox/VMM


Ignore:
Timestamp:
Sep 1, 2008 7:33:46 AM (16 years ago)
Author:
vboxsync
Message:

CPUMPushHyper correction for 64 bits guests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMM.cpp

    r11792 r11893  
    689689        CPUMSetHyperESP(pVM, pVM->vmm.s.pbGCStackBottom); /* Clear the stack. */
    690690        uint64_t u64TS = RTTimeProgramStartNanoTS();
    691 #if GC_ARCH_BITS == 32
    692691        CPUMPushHyper(pVM, (uint32_t)(u64TS >> 32));    /* Param 3: The program startup TS - Hi. */
    693692        CPUMPushHyper(pVM, (uint32_t)u64TS);            /* Param 3: The program startup TS - Lo. */
    694 #else /* 64-bit GC */
    695         CPUMPushHyper(pVM, u64TS);                      /* Param 3: The program startup TS. */
    696 #endif
    697693        CPUMPushHyper(pVM, VMMGetSvnRev());             /* Param 2: Version argument. */
    698694        CPUMPushHyper(pVM, VMMGC_DO_VMMGC_INIT);        /* Param 1: Operation. */
     
    16121608    SSMR3PutGCPtr(pSSM, pVM->vmm.s.pbGCStackBottom);
    16131609    RTGCPTR GCPtrESP = CPUMGetHyperESP(pVM);
    1614     Assert(pVM->vmm.s.pbGCStackBottom - GCPtrESP <= VMM_STACK_SIZE);
     1610    AssertMsg(pVM->vmm.s.pbGCStackBottom - GCPtrESP <= VMM_STACK_SIZE, ("Bottom %VGv ESP=%VGv\n", pVM->vmm.s.pbGCStackBottom, GCPtrESP));
    16151611    SSMR3PutGCPtr(pSSM, GCPtrESP);
    16161612    SSMR3PutMem(pSSM, pVM->vmm.s.pbHCStack, VMM_STACK_SIZE);
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