VirtualBox

vbox的更動 13755 路徑 trunk/include


忽略:
時間撮記:
2008-11-3 下午03:49:06 (16 年 以前)
作者:
vboxsync
訊息:

Started with VM request API changes.

位置:
trunk/include/VBox
檔案:
修改 2 筆資料

圖例:

未更動
新增
刪除
  • trunk/include/VBox/uvm.h

    r13751 r13755  
    4242{
    4343    uint32_t     uFiller;
     44    /** The VM internal data. */
     45    struct
     46    {
     47#ifdef ___VMInternal_h
     48        struct VMINTUSERPERVMCPU    s;
     49#endif
     50        uint8_t                     padding[768];
     51    } vm;
    4452} UVMCPU;
    4553
  • trunk/include/VBox/vmapi.h

    r13742 r13755  
    263263    VMREQFLAGS_NO_WAIT      = 2
    264264} VMREQFLAGS;
     265
     266/**
     267 * Request destination
     268 */
     269typedef enum VMREQDEST
     270{
     271    /** Request packet for VCPU 0. */
     272    VMREQDEST_CPU0          = 0,
     273
     274    /** Request packet for the VM (any VCPU can handle it). */
     275    VMREQDEST_ALL           = -1
     276} VMREQDEST;
    265277
    266278/**
     
    292304    /** Request type. */
    293305    VMREQTYPE               enmType;
     306    /** Request destination. */
     307    VMREQDEST               enmDest;
    294308    /** Request specific data. */
    295309    union VMREQ_U
     
    399413VMMR3DECL(int)  VMR3AtRuntimeErrorDeregister(PVM pVM, PFNVMATRUNTIMEERROR pfnAtRuntimeError, void *pvUser);
    400414VMMR3DECL(void) VMR3SetRuntimeErrorWorker(PVM pVM);
    401 VMMR3DECL(int)  VMR3ReqCall(PVM pVM, PVMREQ *ppReq, unsigned cMillies, PFNRT pfnFunction, unsigned cArgs, ...);
    402 VMMR3DECL(int)  VMR3ReqCallVoidU(PUVM pUVM, PVMREQ *ppReq, unsigned cMillies, PFNRT pfnFunction, unsigned cArgs, ...);
    403 VMMR3DECL(int)  VMR3ReqCallVoid(PVM pVM, PVMREQ *ppReq, unsigned cMillies, PFNRT pfnFunction, unsigned cArgs, ...);
    404 VMMR3DECL(int)  VMR3ReqCallEx(PVM pVM, PVMREQ *ppReq, unsigned cMillies, unsigned fFlags, PFNRT pfnFunction, unsigned cArgs, ...);
    405 VMMR3DECL(int)  VMR3ReqCallU(PUVM pUVM, PVMREQ *ppReq, unsigned cMillies, unsigned fFlags, PFNRT pfnFunction, unsigned cArgs, ...);
    406 VMMR3DECL(int)  VMR3ReqCallVU(PUVM pUVM, PVMREQ *ppReq, unsigned cMillies, unsigned fFlags, PFNRT pfnFunction, unsigned cArgs, va_list Args);
    407 VMMR3DECL(int)  VMR3ReqAlloc(PVM pVM, PVMREQ *ppReq, VMREQTYPE enmType);
    408 VMMR3DECL(int)  VMR3ReqAllocU(PUVM pUVM, PVMREQ *ppReq, VMREQTYPE enmType);
     415VMMR3DECL(int)  VMR3ReqCall(PVM pVM, VMREQDEST enmDest, PVMREQ *ppReq, unsigned cMillies, PFNRT pfnFunction, unsigned cArgs, ...);
     416VMMR3DECL(int)  VMR3ReqCallVoidU(PUVM pUVM, VMREQDEST enmDest, PVMREQ *ppReq, unsigned cMillies, PFNRT pfnFunction, unsigned cArgs, ...);
     417VMMR3DECL(int)  VMR3ReqCallVoid(PVM pVM, VMREQDEST enmDest, PVMREQ *ppReq, unsigned cMillies, PFNRT pfnFunction, unsigned cArgs, ...);
     418VMMR3DECL(int)  VMR3ReqCallEx(PVM pVM, VMREQDEST enmDest, PVMREQ *ppReq, unsigned cMillies, unsigned fFlags, PFNRT pfnFunction, unsigned cArgs, ...);
     419VMMR3DECL(int)  VMR3ReqCallU(PUVM pUVM, VMREQDEST enmDest, PVMREQ *ppReq, unsigned cMillies, unsigned fFlags, PFNRT pfnFunction, unsigned cArgs, ...);
     420VMMR3DECL(int)  VMR3ReqCallVU(PUVM pUVM, VMREQDEST enmDest, PVMREQ *ppReq, unsigned cMillies, unsigned fFlags, PFNRT pfnFunction, unsigned cArgs, va_list Args);
     421VMMR3DECL(int)  VMR3ReqAlloc(PVM pVM, PVMREQ *ppReq, VMREQTYPE enmType, VMREQDEST enmDest);
     422VMMR3DECL(int)  VMR3ReqAllocU(PUVM pUVM, PVMREQ *ppReq, VMREQTYPE enmType, VMREQDEST enmDest);
    409423VMMR3DECL(int)  VMR3ReqFree(PVMREQ pReq);
    410424VMMR3DECL(int)  VMR3ReqQueue(PVMREQ pReq, unsigned cMillies);
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

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