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

DECLINLINE ( bool   ) 

Tests if the guest is running in real mode or not.

Returns:
true if in real mode, otherwise false.
Parameters:
pVM The VM handle.
Tests if the guest is running in real mode or not.

Returns:
true if in real mode, otherwise false.
Parameters:
pCtx Current CPU context
Tests if the guest is running in protected or not.

Returns:
true if in protected mode, otherwise false.
Parameters:
pVM The VM handle.
Tests if the guest is running in paged protected or not.

Returns:
true if in paged protected mode, otherwise false.
Parameters:
pVM The VM handle.
Tests if the guest is running in long mode or not.

Returns:
true if in long mode, otherwise false.
Parameters:
pVM The VM handle.
Tests if the guest is running in long mode or not.

Returns:
true if in long mode, otherwise false.
Parameters:
pCtx Current CPU context
Tests if the guest is running in 64 bits mode or not.

Returns:
true if in 64 bits protected mode, otherwise false.
Parameters:
pVM The VM handle.
pCtx Current CPU context

Definition at line 721 of file cpum.h.

References X86_CR0_PE.

{
    return !(CPUMGetGuestCR0(pVCpu) & X86_CR0_PE);
}


Generated by  Doxygen 1.6.0   Back to index