VirtualBox

忽略:
時間撮記:
2007-3-5 下午06:10:30 (18 年 以前)
作者:
vboxsync
訊息:

Pointer mess.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/VMM/VMMAll/MMAll.cpp

    r1237 r1238  
    2828#include "MMInternal.h"
    2929#include <VBox/vm.h>
     30#include <VBox/log.h>
    3031#include <iprt/assert.h>
    3132
     
    108109    /** @todo fix this properly; the ring 0 pVM address differs from the R3 one. */
    109110    if (R0Ptr >= pVM->pVMR0 && (RTR0UINTREG)R0Ptr < (RTR0UINTREG)pVM->pVMR0 + sizeof(*pVM))
    110         R3Ptr = (RTR3PTR)((RTR0UINTREG)R0Ptr - (RTR0UINTREG)pVM + (RTR0UINTREG)pVM->pVMR3);
     111        R3Ptr = (RTR3PTR)((RTR0UINTREG)R0Ptr - (RTR0UINTREG)pVM->pVMR0 + (RTR0UINTREG)pVM->pVMR3);
    111112    else
    112113        R3Ptr = (RTR3PTR)R0Ptr;
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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