| plan 9 kernel history: overview | file list | diff list |
1990/0320/gnot/main.c (diff list | history)
| 1990/0312/sys/src/9/gnot/main.c:23,29 – 1990/0320/sys/src/9/gnot/main.c:23,28 (short | long | prev | next) | ||
| 1990/03091 | void main(void) { | |
| 1990/0312 | unloadboot(); | |
| 1990/03091 | machinit(); mmuinit(); | |
| 1990/0312/sys/src/9/gnot/main.c:69,80 – 1990/0320/sys/src/9/gnot/main.c:68,79 | ||
| 1990/03091 | for(l=0; l<4*1024*1024; l+=BY2PG) putmmu(l, INVALIDPTE); /* | |
| 1990/0320 | * Four meg of usable memory, with top 256K for screen | |
| 1990/03091 | */ | |
| 1990/0320 | for(i=1,l=KTZERO; i<(4*1024*1024-256*1024)/BY2PG; l+=BY2PG,i++) | |
| 1990/03091 | putkmmu(l, PPN(l)|PTEVALID|PTEKERNEL); /* | |
| 1990/0320 | * Screen at top of memory | |
| 1990/03091 | */ for(i=0,d=DISPLAYRAM; i<256*1024/BY2PG; d+=BY2PG,l+=BY2PG,i++) putkmmu(l, PPN(d)|PTEVALID|PTEKERNEL); | |
| 1990/0312/sys/src/9/gnot/main.c:234,242 – 1990/0320/sys/src/9/gnot/main.c:233,241 | ||
| 1990/03091 | conf.nmach = 1; if(conf.nmach > MAXMACH) panic("confinit"); | |
| 1990/0320 | conf.nproc = 32; | |
| 1990/03091 | conf.npgrp = 15; | |
| 1990/0320 | conf.npage = (4*1024*1024-256*1024)/BY2PG; | |
| 1990/03091 | conf.npte = 500; conf.nmod = 50; | |
| 1990/0312 | conf.nalarm = 1000; | |