MFi386: trap.c rev 1.259: fetch thread mailbox address in page fault trap

This commit is contained in:
peter 2003-10-30 04:06:28 +00:00
parent 91407731e5
commit ba966fc730

View File

@ -261,6 +261,8 @@ trap(frame)
break;
case T_PAGEFLT: /* page fault */
if (td->td_flags & TDF_SA)
thread_user_enter(p, td);
i = trap_pfault(&frame, TRUE);
if (i == -1)
goto userout;