| plan 9 kernel history: overview | file list | diff list |
1990/0731/power/trap.c (diff list | history)
| 1990/0722/sys/src/9/power/trap.c:101,111 – 1990/0731/sys/src/9/power/trap.c:101,112 (short | long | prev | next) | ||
| 1990/0227 | } m->intr = intr; m->cause = ur->cause; | |
| 1990/0731 | m->pc = ur->pc; | |
| 1990/0227 | if(ur->cause & INTR2) m->intrp = u->p; sched(); }else | |
| 1990/0731 | intr(ur->cause, ur->pc); | |
| 1990/0227 | break; case CTLBM: | |
| 1990/0722/sys/src/9/power/trap.c:179,185 – 1990/0731/sys/src/9/power/trap.c:180,186 | ||
| 1990/0227 | } void | |
| 1990/0731 | intr(ulong cause, ulong pc) | |
| 1990/0227 | { int i, pend; long v; | |
| 1990/0722/sys/src/9/power/trap.c:186,192 – 1990/0731/sys/src/9/power/trap.c:187,193 | ||
| 1990/0227 | cause &= INTR5|INTR4|INTR3|INTR2|INTR1; if(cause & (INTR2|INTR4)){ | |
| 1990/0731 | clock(cause, pc); | |
| 1990/0227 | cause &= ~(INTR2|INTR4); } if(cause & INTR1){ | |