VirtualBox

忽略:
時間撮記:
2013-1-24 下午12:04:39 (12 年 以前)
作者:
vboxsync
訊息:

PDM,++: Change APIs used by Main from PVM to PUVM.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/VMM/VMMR3/PDMDevHlp.cpp

    r44340 r44351  
    21672167             pDevIns->iInstance, rc));
    21682168    return rc;
     2169}
     2170
     2171
     2172/** @interface_method_impl{PDMDEVHLPR3,pfnGetUVM} */
     2173static DECLCALLBACK(PUVM) pdmR3DevHlp_GetUVM(PPDMDEVINS pDevIns)
     2174{
     2175    PDMDEV_ASSERT_DEVINS(pDevIns);
     2176    LogFlow(("pdmR3DevHlp_GetUVM: caller='%s'/%d: returns %p\n", pDevIns->pReg->szName, pDevIns->iInstance, pDevIns->Internal.s.pVMR3));
     2177    return pDevIns->Internal.s.pVMR3->pUVM;
    21692178}
    21702179
     
    31003109    VM_ASSERT_EMT(pDevIns->Internal.s.pVMR3);
    31013110
    3102     int rc = PDMR3RegisterVMMDevHeap(pDevIns->Internal.s.pVMR3, GCPhys, pvHeap, cbSize);
     3111    int rc = PDMR3VmmDevHeapRegister(pDevIns->Internal.s.pVMR3, GCPhys, pvHeap, cbSize);
    31033112    return rc;
    31043113}
     
    31133122    VM_ASSERT_EMT(pDevIns->Internal.s.pVMR3);
    31143123
    3115     int rc = PDMR3UnregisterVMMDevHeap(pDevIns->Internal.s.pVMR3, GCPhys);
     3124    int rc = PDMR3VmmDevHeapUnregister(pDevIns->Internal.s.pVMR3, GCPhys);
    31163125    return rc;
    31173126}
     
    34103419    0,
    34113420    0,
    3412     0,
     3421    pdmR3DevHlp_GetUVM,
    34133422    pdmR3DevHlp_GetVM,
    34143423    pdmR3DevHlp_GetVMCPU,
     
    34293438
    34303439
     3440
     3441
     3442/** @interface_method_impl{PDMDEVHLPR3,pfnGetUVM} */
     3443static DECLCALLBACK(PUVM) pdmR3DevHlp_Untrusted_GetUVM(PPDMDEVINS pDevIns)
     3444{
     3445    PDMDEV_ASSERT_DEVINS(pDevIns);
     3446    AssertReleaseMsgFailed(("Untrusted device called trusted helper! '%s'/%d\n", pDevIns->pReg->szName, pDevIns->iInstance));
     3447    return NULL;
     3448}
    34313449
    34323450
     
    36313649    0,
    36323650    0,
    3633     0,
     3651    pdmR3DevHlp_Untrusted_GetUVM,
    36343652    pdmR3DevHlp_Untrusted_GetVM,
    36353653    pdmR3DevHlp_Untrusted_GetVMCPU,
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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