VirtualBox

儲存庫 vbox 的更動 11893


忽略:
時間撮記:
2008-9-1 上午07:33:46 (16 年 以前)
作者:
vboxsync
訊息:

CPUMPushHyper correction for 64 bits guests

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • 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);
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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