| plan 9 kernel history: overview | file list | diff list |
1990/0905/gnot/trap.c (diff list | history)
| 1990/08163/sys/src/9/gnot/trap.c:94,100 – 1990/0905/sys/src/9/gnot/trap.c:94,100 (short | long | prev | next) | ||
| 1990/03091 | sprint(buf, "pc=%lux trap: %s", ur->pc, excname(ur->vo)); postnote(u->p, 1, buf, NDebug); }else{ | |
| 1990/0905 | print("kernel trap vo=0x%ux pc=%lux\n", ur->vo, ur->pc); | |
| 1990/03091 | dumpregs(ur); exit(); } | |
| 1990/08163/sys/src/9/gnot/trap.c:243,249 – 1990/0905/sys/src/9/gnot/trap.c:243,248 | ||
| 1990/03091 | ulong r0; Ureg *ur; | |
| 1990/0513 | char *msg; | |
| 1990/08163 |
| |
| 1990/03091 | u->p->insyscall = 1; ur = aur; | |
| 1990/08163/sys/src/9/gnot/trap.c:258,264 – 1990/0905/sys/src/9/gnot/trap.c:257,263 | ||
| 1990/08163 | splhi(); fpsave(&u->fpsave); if(u->p->fpstate==FPactive || u->fpsave.type){ | |
| 1990/0905 | fprestore(&initfp); | |
| 1990/08163 | u->p->fpstate = FPinit; m->fpstate = FPinit; | |
| 1990/03091 | } | |