summary |
tags |
clone url |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1e608f1)
SCCS-vsn: sys/vax/vax/trap.c 4.5
#include "../h/param.h"
#include "../h/systm.h"
#include "../h/param.h"
#include "../h/systm.h"
goto out;
case ARITHTRAP + USER:
goto out;
case ARITHTRAP + USER:
* If the user SP is above the stack segment,
* grow the stack automatically.
*/
* If the user SP is above the stack segment,
* grow the stack automatically.
*/
- case SEGFLT + USER: /* segmentation exception */
- if(grow((unsigned)locr0[SP]) || grow(code))
+ case SEGFLT + USER:
+ if (grow((unsigned)locr0[SP]) || grow(code))
goto out;
i = SIGSEGV;
break;
case TABLEFLT: /* allow page table faults in kernel mode */
case TABLEFLT + USER: /* page table fault */
goto out;
i = SIGSEGV;
break;
case TABLEFLT: /* allow page table faults in kernel mode */
case TABLEFLT + USER: /* page table fault */
- panic("page table fault");
case PAGEFLT: /* allow page faults in kernel mode */
case PAGEFLT + USER: /* page fault */
i = u.u_error;
case PAGEFLT: /* allow page faults in kernel mode */
case PAGEFLT + USER: /* page fault */
i = u.u_error;
- pagein(code); /* bring in page containing virtual addr */
case BPTFLT + USER: /* bpt instruction fault */
case TRCTRAP + USER: /* trace trap */
case BPTFLT + USER: /* bpt instruction fault */
case TRCTRAP + USER: /* trace trap */
- locr0[PS] &= ~PSL_T; /* turn off trace bit */
break;
case COMPATFLT + USER: /* compatibility mode fault */
break;
case COMPATFLT + USER: /* compatibility mode fault */