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

typedef DECLCALLBACK ( int   ) 

Thread function.

Returns:
0 on success.
Parameters:
ThreadSelf Thread handle to this thread.
pvUser User argument.

Todo:
r=bird: We should just drop all these items, restoring doesn't make sense.

Definition at line 631 of file VBoxRecompiler.c.

{
    PREM pRem = &pVM->rem.s;

    /*
     * Save the required CPU Env bits.
     * (Not much because we're never in REM when doing the save.)
     */
    LogFlow(("remR3Save:\n"));
    Assert(!pRem->fInREM);
    SSMR3PutU32(pSSM,   pRem->Env.hflags);
    SSMR3PutU32(pSSM,   ~0);            /* separator */

    /* Remember if we've entered raw mode (vital for ring 1 checks in e.g. iret emulation). */
    SSMR3PutU32(pSSM, !!(pRem->Env.state & CPU_RAW_RING0));
    SSMR3PutU32(pSSM, pVM->rem.s.u32PendingInterrupt);

    return SSMR3PutU32(pSSM, ~0);       /* terminator */
}


Generated by  Doxygen 1.6.0   Back to index