| plan 9 kernel history: overview | file list | diff list |
1991/0316/power/trap.c (diff list | history)
| 1991/0314/sys/src/9/power/trap.c:176,181 – 1991/0316/sys/src/9/power/trap.c:176,182 (short | long | prev | next) | ||
| 1991/0209 | intr(Ureg *ur) | |
| 1990/0227 | { | |
| 1991/0212 | int i, any; | |
| 1991/0316 | uchar xxx; | |
| 1991/0212 | uchar pend, npend; | |
| 1990/0227 | long v; | |
| 1991/0209 | ulong cause; | |
| 1991/0314/sys/src/9/power/trap.c:215,221 – 1991/0316/sys/src/9/power/trap.c:216,223 | ||
| 1990/0227 | /* * 3. read pending interrupts */ | |
| 1991/0212 |
| |
| 1991/0316 | pend = SBCCREG->fintpending; npend = pend; | |
| 1990/0227 | /* * 4. clear pending register | |
| 1991/0314/sys/src/9/power/trap.c:222,227 – 1991/0316/sys/src/9/power/trap.c:224,243 | ||
| 1990/0227 | */ i = SBCCREG->flevel; | |
| 1990/1214 | USED(i); | |
| 1991/0316 | /* * 4a. attempt to fix problem */ if(!(*INTPENDREG & (1<<5))) print("pause again\n"); while(!(*INTPENDREG & (1<<5))) ; xxx = SBCCREG->fintpending; if(xxx){ print("new pend %ux\n", xxx); npend = pend |= xxx; i = SBCCREG->flevel; } | |
| 1990/0227 | /* * 5a. process lance, scsi | |