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

VMMDECL ( PVMCPU   ) 

Returns the VMCPU of the first EMT thread.

Returns:
The VMCPU pointer.
Parameters:
pVM The VM to operate on.
Returns the VMCPU of the specified virtual CPU.

Returns:
The VMCPU pointer. NULL if idCpu is invalid.
Parameters:
pVM The VM to operate on.
idCpu The ID of the virtual CPU.
Returns the VMCPU of the calling EMT.

Returns:
The VMCPU pointer. NULL if not an EMT.
Parameters:
pVM The VM to operate on.
Returns the VMCPU of the first EMT thread.

Returns:
The VMCPU pointer.
Parameters:
pVM The VM to operate on.
Returns the VMCPU of the specified virtual CPU.

Returns:
The VMCPU pointer. NULL if idCpu is invalid.
Parameters:
pVM The VM to operate on.
idCpu The ID of the virtual CPU.

Definition at line 109 of file VMMAll.cpp.

References Assert, NIL_VMCPUID, and NULL.

{
    Assert(pVM->cCpus == 1);
    return &pVM->aCpus[0];
}


Generated by  Doxygen 1.6.0   Back to index