VirtualBox

Changeset 20874 in vbox for trunk/include/VBox


Ignore:
Timestamp:
Jun 24, 2009 2:19:29 AM (16 years ago)
Author:
vboxsync
Message:

VMMR0CallHost -> VMMRZCallRing3[NoCpu]; VMMCALLHOST -> VMMCALLRING3.

Location:
trunk/include/VBox
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/pdmcritsect.h

    r20753 r20874  
    5858VMMDECL(int)        PDMCritSectEnter(PPDMCRITSECT pCritSect, int rcBusy);
    5959VMMDECL(int)        PDMCritSectTryEnter(PPDMCRITSECT pCritSect);
    60 VMMR3DECL(int)      PDMR3CritSectEnterEx(PPDMCRITSECT pCritSect, bool fCallHost);
     60VMMR3DECL(int)      PDMR3CritSectEnterEx(PPDMCRITSECT pCritSect, bool fCallRing3);
    6161VMMDECL(void)       PDMCritSectLeave(PPDMCRITSECT pCritSect);
    6262VMMDECL(bool)       PDMCritSectIsOwner(PCPDMCRITSECT pCritSect);
  • trunk/include/VBox/vmm.h

    r20873 r20874  
    7777
    7878/**
    79  * VMMGCCallHost operations.
    80  */
    81 typedef enum VMMCALLHOST
     79 * VMMRZCallRing3 operations.
     80 */
     81typedef enum VMMCALLRING3
    8282{
    8383    /** Invalid operation.  */
    84     VMMCALLHOST_INVALID = 0,
     84    VMMCALLRING3_INVALID = 0,
    8585    /** Acquire the PDM lock. */
    86     VMMCALLHOST_PDM_LOCK,
     86    VMMCALLRING3_PDM_LOCK,
    8787    /** Call PDMR3QueueFlushWorker. */
    88     VMMCALLHOST_PDM_QUEUE_FLUSH,
     88    VMMCALLRING3_PDM_QUEUE_FLUSH,
    8989    /** Acquire the PGM lock. */
    90     VMMCALLHOST_PGM_LOCK,
     90    VMMCALLRING3_PGM_LOCK,
    9191    /** Grow the PGM shadow page pool. */
    92     VMMCALLHOST_PGM_POOL_GROW,
     92    VMMCALLRING3_PGM_POOL_GROW,
    9393    /** Maps a chunk into ring-3. */
    94     VMMCALLHOST_PGM_MAP_CHUNK,
     94    VMMCALLRING3_PGM_MAP_CHUNK,
    9595    /** Allocates more handy pages. */
    96     VMMCALLHOST_PGM_ALLOCATE_HANDY_PAGES,
     96    VMMCALLRING3_PGM_ALLOCATE_HANDY_PAGES,
    9797    /** Acquire the MM hypervisor heap lock. */
    98     VMMCALLHOST_MMHYPER_LOCK,
     98    VMMCALLRING3_MMHYPER_LOCK,
    9999    /** Replay the REM handler notifications. */
    100     VMMCALLHOST_REM_REPLAY_HANDLER_NOTIFICATIONS,
     100    VMMCALLRING3_REM_REPLAY_HANDLER_NOTIFICATIONS,
    101101    /** Flush the GC/R0 logger. */
    102     VMMCALLHOST_VMM_LOGGER_FLUSH,
     102    VMMCALLRING3_VMM_LOGGER_FLUSH,
    103103    /** Set the VM error message. */
    104     VMMCALLHOST_VM_SET_ERROR,
     104    VMMCALLRING3_VM_SET_ERROR,
    105105    /** Set the VM runtime error message. */
    106     VMMCALLHOST_VM_SET_RUNTIME_ERROR,
     106    VMMCALLRING3_VM_SET_RUNTIME_ERROR,
    107107    /** Signal a ring 0 assertion. */
    108     VMMCALLHOST_VM_R0_ASSERTION,
     108    VMMCALLRING3_VM_R0_ASSERTION,
    109109    /** Ring switch to force preemption. */
    110     VMMCALLHOST_VM_R0_PREEMPT,
     110    VMMCALLRING3_VM_R0_PREEMPT,
    111111    /** The usual 32-bit hack. */
    112     VMMCALLHOST_32BIT_HACK = 0x7fffffff
    113 } VMMCALLHOST;
     112    VMMCALLRING3_32BIT_HACK = 0x7fffffff
     113} VMMCALLRING3;
    114114
    115115/**
     
    351351VMMR0DECL(int)      VMMR0EntryEx(PVM pVM, VMCPUID idCpu, VMMR0OPERATION enmOperation, PSUPVMMR0REQHDR pReq, uint64_t u64Arg, PSUPDRVSESSION);
    352352VMMR0DECL(int)      VMMR0TermVM(PVM pVM, PGVM pGVM);
    353 VMMR0DECL(int)      VMMR0CallHost(PVM pVM, VMMCALLHOST enmOperation, uint64_t uArg);
    354353
    355354#ifdef LOG_ENABLED
     
    380379 * @{
    381380 */
    382 VMMRZDECL(int)      VMMRZCallRing3(PVM pVM, PVMCPU pVCpu, VMMCALLHOST enmOperation, uint64_t uArg);
    383 VMMRZDECL(int)      VMMRZCallRing3NoCpu(PVM pVM, VMMCALLHOST enmOperation, uint64_t uArg);
     381VMMRZDECL(int)      VMMRZCallRing3(PVM pVM, PVMCPU pVCpu, VMMCALLRING3 enmOperation, uint64_t uArg);
     382VMMRZDECL(int)      VMMRZCallRing3NoCpu(PVM pVM, VMMCALLRING3 enmOperation, uint64_t uArg);
    384383VMMRZDECL(void)     VMMRZCallRing3Disable(PVMCPU pVCpu);
    385384VMMRZDECL(void)     VMMRZCallRing3Enable(PVMCPU pVCpu);
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