| plan 9 kernel history: overview | file list | diff list |
1991/1102/power/bboot.c (diff list | history)
| 1991/0327/sys/src/9/power/bboot.c:3,9 – 1991/1102/sys/src/9/power/bboot.c:3,9 (short | long | prev | next) | ||
| 1990/0424 | #include <fcall.h> | |
| 1990/0427 |
| |
| 1991/1102 | #define DEFFILE "/mips/9power" | |
| 1990/1127 | #define DEFSYS "bit!bootes" | |
| 1990/0427 | Fcall hdr; | |
| 1991/0327/sys/src/9/power/bboot.c:283,289 – 1991/1102/sys/src/9/power/bboot.c:283,289 | ||
| 1990/0424 | print("nop..."); hdr.type = Tnop; | |
| 1990/1127 |
| |
| 1991/1102 | hdr.tag = NOTAG; | |
| 1990/0424 | n = convS2M(&hdr, buf); | |
| 1990/0427 | if(write(fd, buf, n) != n){ | |
| 1990/1127 | print("n = %d\n", n); | |
| 1991/0327/sys/src/9/power/bboot.c:308,321 – 1991/1102/sys/src/9/power/bboot.c:308,321 | ||
| 1990/0427 | prerror("not Rnop"); return; } | |
| 1990/1127 |
| |
| 1991/1102 | if(hdr.tag != NOTAG){ prerror("tag not NOTAG"); | |
| 1990/1127 | return; } | |
| 1990/0424 | print("session..."); hdr.type = Tsession; | |
| 1990/1127 |
| |
| 1991/1102 | hdr.tag = NOTAG; | |
| 1990/0424 | n = convS2M(&hdr, buf); | |
| 1990/0427 | if(write(fd, buf, n) != n){ prerror("write session"); | |
| 1991/0327/sys/src/9/power/bboot.c:330,337 – 1991/1102/sys/src/9/power/bboot.c:330,337 | ||
| 1990/0427 | prerror("format session"); return; } | |
| 1990/1127 |
| |
| 1991/1102 | if(hdr.tag != NOTAG){ prerror("tag not NOTAG"); | |
| 1990/0427 | return; } | |
| 1990/1127 | if(hdr.type == Rerror){ | |