Logo Search packages:      
Sourcecode: virtualbox-ose version File versions  Download package

VMMDECL ( void   ) 

Restores virtualized flags.

This function is called from CPUMRawLeave(). It will update the eflags register.

Parameters:
pVM VM handle.
pCtxCore The cpu context core.
rawRC Raw mode return code
See also:
Raw-mode Code Execution
Updates the EFLAGS. This is a worker for CPUMRawSetEFlags().

Parameters:
pVM The VM handle.
pCtxCore The context core.
efl The new EFLAGS value.
Notification that execution is about to start.

This call must always be paired with a TMNotifyStartOfExecution call.

The function may, depending on the configuration, suspend the TSC and future clocks that only ticks when we're executing guest code.

Parameters:
pVCpu The VMCPU to operate on.
Notification that the cpu is entering the halt state

This call must always be paired with a TMNotifyEndOfExecution call.

The function may, depending on the configuration, resume the TSC and future clocks that only ticks when we're halted.

Parameters:
pVCpu The VMCPU to operate on.
Notification that the cpu is leaving the halt state

This call must always be paired with a TMNotifyStartOfHalt call.

The function may, depending on the configuration, suspend the TSC and future clocks that only ticks when we're halted.

Parameters:
pVCpu The VMCPU to operate on.
Remember a possible code page for later inspection

Returns:
VBox status code.
Parameters:
pVM The VM to operate on.
GCPtr GC pointer of page

Definition at line 187 of file TMAll.cpp.

{
    PVM pVM = pVCpu->CTX_SUFF(pVM);

    if (pVM->tm.s.fTSCTiedToExecution)
        tmCpuTickPause(pVM, pVCpu);
}


Generated by  Doxygen 1.6.0   Back to index