@@ -603,10 +603,10 @@ static void Exec_post(unsigned long flg, unsigned int mem_ref,
603603
604604static void HandleEmuSignals (int tfset )
605605{
606- /* CeS_TRAP is used to signal that TF is set but
606+ /* exit_TRAP is used to signal that TF is set but
607607 we should not trap immediately after the
608608 popf/iret that does that */
609- int e = exit_pending_xchg (0 ) & ~ CeS_TRAP ;
609+ int e = exit_pending_xchg (0 );
610610#if PROFILE
611611 if (debug_level ('e' )) EmuSignals ++ ;
612612#endif
@@ -620,16 +620,16 @@ static void HandleEmuSignals(int tfset)
620620 // TheCPU.err = EXCP01_SSTP;
621621 // }
622622 //}
623- else if (e & CeS_SIGPEND ) {
623+ else if (e & exit_SIGPEND ) {
624624 /* force exit after signal */
625625 TheCPU .err = EXCP_SIGNAL ;
626626 }
627- else if (e & CeS_RPIC ) {
627+ else if (e & exit_RPIC ) {
628628 /* force exit for PIC */
629629 if (EFLAGS & EFLAGS_IF )
630630 TheCPU .err = EXCP_PICSIGNAL ;
631631 }
632- else if (e & CeS_STI ) {
632+ else if (e & exit_STI ) {
633633 /* force exit for IF set */
634634 TheCPU .err = EXCP_STISIGNAL ;
635635 }
@@ -683,8 +683,8 @@ unsigned int DoExec(TNode *G, unsigned *pLastXKey)
683683 ecpu = CPUOFFS (0 );
684684 if (debug_level ('e' )> 1 ) {
685685 unsigned e = exit_pending ();
686- if (e & CeS_SIGPEND ) e_printf ("** SIGALRM is pending\n" );
687- if (e & CeS_RPIC ) e_printf ("** PIC is pending\n" );
686+ if (e & exit_SIGPEND ) e_printf ("** SIGALRM is pending\n" );
687+ if (e & exit_RPIC ) e_printf ("** PIC is pending\n" );
688688 e_printf ("==== Executing code at %p flg=%04x\n" ,
689689 G -> addr ,seqflg );
690690 }
@@ -745,11 +745,11 @@ unsigned int DoExec(TNode *G, unsigned *pLastXKey)
745745 /* exit_pending at this point is non-zero if there was ANY signal,
746746 * not just a SIGALRM
747747 */
748- if (((seqflg & F_INHI ) || (exit_pending () & CeS_INHI )) && !block_inhibit ) {
748+ if (((seqflg & F_INHI ) || (exit_pending () & exit_INHI )) && !block_inhibit ) {
749749 /* ignore signals and traps for movss/popss */
750750 CEmuStat |= CeS_INHI ;
751- if (exit_pending () & CeS_INHI )
752- exit_pending_and (~CeS_INHI );
751+ if (exit_pending () & exit_INHI )
752+ exit_pending_and (~exit_INHI );
753753 } else {
754754 CEmuStat &= ~CeS_INHI ;
755755 HandleEmuSignals (tfset );
0 commit comments