| plan 9 kernel history: overview | file list | diff list |
1991/0722/gnot/trap.c (diff list | history)
| 1991/0719/sys/src/9/gnot/trap.c:162,167 – 1991/0722/sys/src/9/gnot/trap.c:162,175 (short | long | prev | next) | ||
| 1991/0503 | u->svsr = ur->sr; | |
| 1990/0816 | sp = ur->usp; | |
| 1990/03091 | sp -= sizeof(Ureg); | |
| 1991/0722 | if(waserror()){ pprint("suicide: trap in notify\n"); unlock(&u->p->debug); pexit("Suicide", 0); } validaddr((ulong)u->notify, 1, 0); validaddr(sp-ERRLEN-3*BY2WD, sizeof(Ureg)+ERRLEN-3*BY2WD, 0); poperror(); | |
| 1990/03091 | u->ureg = (void*)sp; | |
| 1991/0318 | memmove((Ureg*)sp, ur, sizeof(Ureg)); | |
| 1990/03091 | sp -= ERRLEN; | |