Changeset 20874 in vbox for trunk/include/VBox
- Timestamp:
- Jun 24, 2009 2:19:29 AM (16 years ago)
- Location:
- trunk/include/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/pdmcritsect.h
r20753 r20874 58 58 VMMDECL(int) PDMCritSectEnter(PPDMCRITSECT pCritSect, int rcBusy); 59 59 VMMDECL(int) PDMCritSectTryEnter(PPDMCRITSECT pCritSect); 60 VMMR3DECL(int) PDMR3CritSectEnterEx(PPDMCRITSECT pCritSect, bool fCall Host);60 VMMR3DECL(int) PDMR3CritSectEnterEx(PPDMCRITSECT pCritSect, bool fCallRing3); 61 61 VMMDECL(void) PDMCritSectLeave(PPDMCRITSECT pCritSect); 62 62 VMMDECL(bool) PDMCritSectIsOwner(PCPDMCRITSECT pCritSect); -
trunk/include/VBox/vmm.h
r20873 r20874 77 77 78 78 /** 79 * VMM GCCallHostoperations.80 */ 81 typedef enum VMMCALL HOST79 * VMMRZCallRing3 operations. 80 */ 81 typedef enum VMMCALLRING3 82 82 { 83 83 /** Invalid operation. */ 84 VMMCALL HOST_INVALID = 0,84 VMMCALLRING3_INVALID = 0, 85 85 /** Acquire the PDM lock. */ 86 VMMCALL HOST_PDM_LOCK,86 VMMCALLRING3_PDM_LOCK, 87 87 /** Call PDMR3QueueFlushWorker. */ 88 VMMCALL HOST_PDM_QUEUE_FLUSH,88 VMMCALLRING3_PDM_QUEUE_FLUSH, 89 89 /** Acquire the PGM lock. */ 90 VMMCALL HOST_PGM_LOCK,90 VMMCALLRING3_PGM_LOCK, 91 91 /** Grow the PGM shadow page pool. */ 92 VMMCALL HOST_PGM_POOL_GROW,92 VMMCALLRING3_PGM_POOL_GROW, 93 93 /** Maps a chunk into ring-3. */ 94 VMMCALL HOST_PGM_MAP_CHUNK,94 VMMCALLRING3_PGM_MAP_CHUNK, 95 95 /** Allocates more handy pages. */ 96 VMMCALL HOST_PGM_ALLOCATE_HANDY_PAGES,96 VMMCALLRING3_PGM_ALLOCATE_HANDY_PAGES, 97 97 /** Acquire the MM hypervisor heap lock. */ 98 VMMCALL HOST_MMHYPER_LOCK,98 VMMCALLRING3_MMHYPER_LOCK, 99 99 /** Replay the REM handler notifications. */ 100 VMMCALL HOST_REM_REPLAY_HANDLER_NOTIFICATIONS,100 VMMCALLRING3_REM_REPLAY_HANDLER_NOTIFICATIONS, 101 101 /** Flush the GC/R0 logger. */ 102 VMMCALL HOST_VMM_LOGGER_FLUSH,102 VMMCALLRING3_VMM_LOGGER_FLUSH, 103 103 /** Set the VM error message. */ 104 VMMCALL HOST_VM_SET_ERROR,104 VMMCALLRING3_VM_SET_ERROR, 105 105 /** Set the VM runtime error message. */ 106 VMMCALL HOST_VM_SET_RUNTIME_ERROR,106 VMMCALLRING3_VM_SET_RUNTIME_ERROR, 107 107 /** Signal a ring 0 assertion. */ 108 VMMCALL HOST_VM_R0_ASSERTION,108 VMMCALLRING3_VM_R0_ASSERTION, 109 109 /** Ring switch to force preemption. */ 110 VMMCALL HOST_VM_R0_PREEMPT,110 VMMCALLRING3_VM_R0_PREEMPT, 111 111 /** The usual 32-bit hack. */ 112 VMMCALL HOST_32BIT_HACK = 0x7fffffff113 } VMMCALL HOST;112 VMMCALLRING3_32BIT_HACK = 0x7fffffff 113 } VMMCALLRING3; 114 114 115 115 /** … … 351 351 VMMR0DECL(int) VMMR0EntryEx(PVM pVM, VMCPUID idCpu, VMMR0OPERATION enmOperation, PSUPVMMR0REQHDR pReq, uint64_t u64Arg, PSUPDRVSESSION); 352 352 VMMR0DECL(int) VMMR0TermVM(PVM pVM, PGVM pGVM); 353 VMMR0DECL(int) VMMR0CallHost(PVM pVM, VMMCALLHOST enmOperation, uint64_t uArg);354 353 355 354 #ifdef LOG_ENABLED … … 380 379 * @{ 381 380 */ 382 VMMRZDECL(int) VMMRZCallRing3(PVM pVM, PVMCPU pVCpu, VMMCALL HOSTenmOperation, uint64_t uArg);383 VMMRZDECL(int) VMMRZCallRing3NoCpu(PVM pVM, VMMCALL HOSTenmOperation, uint64_t uArg);381 VMMRZDECL(int) VMMRZCallRing3(PVM pVM, PVMCPU pVCpu, VMMCALLRING3 enmOperation, uint64_t uArg); 382 VMMRZDECL(int) VMMRZCallRing3NoCpu(PVM pVM, VMMCALLRING3 enmOperation, uint64_t uArg); 384 383 VMMRZDECL(void) VMMRZCallRing3Disable(PVMCPU pVCpu); 385 384 VMMRZDECL(void) VMMRZCallRing3Enable(PVMCPU pVCpu);
Note:
See TracChangeset
for help on using the changeset viewer.