| plan 9 kernel history: overview | file list | diff list |
1990/1004/gnot/main.c (diff list | history)
| 1990/0928/sys/src/9/gnot/main.c:101,111 – 1990/1004/sys/src/9/gnot/main.c:101,107 (short | long | prev | next) | ||
| 1990/03091 | { | |
| 1990/0613 | Chan *c; | |
| 1990/03091 |
| |
| 1990/1004 | restore(); | |
| 1990/03091 | chandevinit(); u->slash = (*devtab[0].attach)(0); | |
| 1990/0928/sys/src/9/gnot/main.c:139,145 – 1990/1004/sys/src/9/gnot/main.c:135,140 | ||
| 1990/03091 | p->pgrp = newpgrp(); strcpy(p->text, "*init*"); | |
| 1990/0312 | strcpy(p->pgrp->user, protouser); | |
| 1990/08163 |
| |
| 1990/03091 | /* * Kernel Stack | |
| 1990/0928/sys/src/9/gnot/main.c:146,152 – 1990/1004/sys/src/9/gnot/main.c:141,147 | ||
| 1990/03091 | */ p->sched.pc = (ulong)init0; p->sched.sp = USERADDR+BY2PG-20; /* BUG */ | |
| 1990/1004 | p->sched.sr = SUPER|SPL(0); | |
| 1990/03091 | p->upage = newpage(0, 0, USERADDR|(p->pid&0xFFFF)); /* | |
| 1990/0928/sys/src/9/gnot/main.c:180,185 – 1990/1004/sys/src/9/gnot/main.c:175,181 | ||
| 1990/03091 | s->minva = UTZERO; s->maxva = UTZERO+BY2PG; | |
| 1990/1004 | m->proc = p; | |
| 1990/03091 | ready(p); } | |