| plan 9 kernel history: overview | file list | diff list |
1990/0802/power/main.c (diff list | history)
| 1990/0801/sys/src/9/power/main.c:246,253 – 1990/0802/sys/src/9/power/main.c:246,258 (short | long | prev | next) | ||
| 1990/0227 | */ s = &p->seg[TSEG]; s->proc = p; | |
| 1990/0802 | /* * On the mips, init text must be OCACHED to avoid reusing page * and getting in trouble with the hardware instruction cache. */ s->o = neworig(UTZERO, 1, OCACHED, 0); | |
| 1990/0227 | s->o->pte[0].page = newpage(0, 0, UTZERO); | |
| 1990/0802 | s->o->npage = 1; | |
| 1990/0617 | k = kmap(s->o->pte[0].page); memcpy((ulong*)VA(k), initcode, sizeof initcode); kunmap(k); | |