void __far BackFromProtMode( void ) { BeenToProtMode = 1; if( setjmp( ProtModeState ) == 0 ) { OldPSP = GetPSP(); SetPSP( DbgPSP() ); longjmp( RealModeState, 0 ); } SetPSP( OldPSP ); }
int SetUsrTask( void ) { if( HavePSP ) { SetPSP( _dil_global._chpsp ); return( 1 ); } return( 0 ); }
void RemoteUnLink( void ) { #ifdef SERVER CallRealMode( RMProcAddr ); #else _DBG_EnterFunc( "RemoteUnLink()" ); if( setjmp( RealModeState ) == 0 ) { doskludge(); /* Ask brian. I don't feel like writing a book */ SetPSP( OldPSP ); longjmp( ProtModeState, 0 ); } _DBG_ExitFunc( "RemoteUnLink()" ); #endif }
void SetDbgTask( void ) { SetPSP( _dil_global._psp ); }