| plan 9 kernel history: overview | file list | diff list |
1990/03091/gnot/main.c (diff list | history)
| 1990/03091/sys/src/9/gnot/main.c:21,26 – 1990/0310/sys/src/9/gnot/main.c:21,27 (short | long) | ||
| 1990/03091 | chaninit(); alarminit(); chandevreset(); | |
| 1990/0310 | streaminit(); | |
| 1990/03091 | pageinit(); userinit(); schedinit(); | |
| 1990/03091/sys/src/9/gnot/main.c:227,231 – 1990/0310/sys/src/9/gnot/main.c:228,235 | ||
| 1990/03091 | conf.nmtab = 50; conf.nmount = 100; conf.nmntdev = 5; | |
| 1990/0310 | conf.nstream = 64; conf.nqueue = 5 * conf.nstream; conf.nblock = 16 * conf.nstream; | |
| 1990/03091 | conf.nsrv = 32; } | |
| 1990/0310/sys/src/9/gnot/main.c:7,16 – 1990/0312/sys/src/9/gnot/main.c:7,30 (short | long) | ||
| 1990/03091 | #include "ureg.h" #include "init.h" | |
| 1990/0312 | typedef struct Boot{ long station; long traffic; char user[NAMELEN]; char server[64]; char line[64]; }Boot; #define BOOT ((Boot*)0) char protouser[NAMELEN]; void unloadboot(void); | |
| 1990/03091 | void main(void) { Lock l; | |
| 1990/0312 | unloadboot(); | |
| 1990/03091 | machinit(); mmuinit(); confinit(); | |
| 1990/0310/sys/src/9/gnot/main.c:28,33 – 1990/0312/sys/src/9/gnot/main.c:42,53 | ||
| 1990/03091 | } void | |
| 1990/0312 | unloadboot(void) { strncpy(protouser, BOOT->user, NAMELEN); } void | |
| 1990/03091 | machinit(void) { int n; | |
| 1990/0310/sys/src/9/gnot/main.c:87,93 – 1990/0312/sys/src/9/gnot/main.c:107,113 | ||
| 1990/03091 | p = newproc(); p->pgrp = newpgrp(); strcpy(p->text, "*init*"); | |
| 1990/0312 | strcpy(p->pgrp->user, protouser); | |
| 1990/03091 | /* savefpregs(&initfp); /**/ /* p->fpstate = FPinit; /**/ | |
| 1990/0310/sys/src/9/gnot/main.c:219,225 – 1990/0312/sys/src/9/gnot/main.c:239,245 | ||
| 1990/03091 | conf.npage = (2*1024*1024)/BY2PG; conf.npte = 500; conf.nmod = 50; | |
| 1990/0312 | conf.nalarm = 1000; | |
| 1990/03091 | conf.norig = 50; conf.nchan = 100; conf.nenv = 50; | |
| 1990/0310/sys/src/9/gnot/main.c:228,233 – 1990/0312/sys/src/9/gnot/main.c:248,255 | ||
| 1990/03091 | conf.nmtab = 50; conf.nmount = 100; conf.nmntdev = 5; | |
| 1990/0312 | conf.nmntbuf = 10; conf.nmnthdr = 10; | |
| 1990/0310 | conf.nstream = 64; conf.nqueue = 5 * conf.nstream; conf.nblock = 16 * conf.nstream; | |
| 1990/0312/sys/src/9/gnot/main.c:23,29 – 1990/0320/sys/src/9/gnot/main.c:23,28 (short | long) | ||
| 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; | |
| 1990/0320/sys/src/9/gnot/main.c:240,249 – 1990/0321/sys/src/9/gnot/main.c:240,249 (short | long) | ||
| 1990/03091 | conf.nmod = 50; | |
| 1990/0312 | conf.nalarm = 1000; | |
| 1990/03091 | conf.norig = 50; | |
| 1990/0321 | conf.nchan = 200; conf.nenv = 100; conf.nenvchar = 8000; conf.npgenv = 200; | |
| 1990/03091 | conf.nmtab = 50; conf.nmount = 100; conf.nmntdev = 5; | |
| 1990/0320/sys/src/9/gnot/main.c:251,256 – 1990/0321/sys/src/9/gnot/main.c:251,256 | ||
| 1990/0312 | conf.nmnthdr = 10; | |
| 1990/0310 | conf.nstream = 64; conf.nqueue = 5 * conf.nstream; | |
| 1990/0321 | conf.nblock = 32 * conf.nstream; | |
| 1990/03091 | conf.nsrv = 32; } | |
| 1990/0321/sys/src/9/gnot/main.c:251,256 – 1990/0322/sys/src/9/gnot/main.c:251,256 (short | long) | ||
| 1990/0312 | conf.nmnthdr = 10; | |
| 1990/0310 | conf.nstream = 64; conf.nqueue = 5 * conf.nstream; | |
| 1990/0321 |
| |
| 1990/0322 | conf.nblock = 12 * conf.nstream; | |
| 1990/03091 | conf.nsrv = 32; } | |
| 1990/0322/sys/src/9/gnot/main.c:253,256 – 1990/0327/sys/src/9/gnot/main.c:253,258 (short | long) | ||
| 1990/0310 | conf.nqueue = 5 * conf.nstream; | |
| 1990/0322 | conf.nblock = 12 * conf.nstream; | |
| 1990/03091 | conf.nsrv = 32; | |
| 1990/0327 | conf.nbitmap = 100; conf.nbitbyte = 200*1024; | |
| 1990/03091 | } | |
| 1990/0327/sys/src/9/gnot/main.c:246,254 – 1990/05151/sys/src/9/gnot/main.c:246,254 (short | long) | ||
| 1990/0321 | conf.npgenv = 200; | |
| 1990/03091 | conf.nmtab = 50; conf.nmount = 100; | |
| 1990/0312 |
| |
| 1990/05151 | conf.nmntdev = 10; conf.nmntbuf = 20; conf.nmnthdr = 20; | |
| 1990/0310 | conf.nstream = 64; conf.nqueue = 5 * conf.nstream; | |
| 1990/0322 | conf.nblock = 12 * conf.nstream; | |
| 1990/05151/sys/src/9/gnot/main.c:237,245 – 1990/05313/sys/src/9/gnot/main.c:237,245 (short | long) | ||
| 1990/03091 | conf.npgrp = 15; | |
| 1990/0320 | conf.npage = (4*1024*1024-256*1024)/BY2PG; | |
| 1990/03091 | conf.npte = 500; | |
| 1990/05313 | conf.nmod = 200; | |
| 1990/0312 | conf.nalarm = 1000; | |
| 1990/03091 |
| |
| 1990/05313 | conf.norig = 100; | |
| 1990/0321 | conf.nchan = 200; conf.nenv = 100; conf.nenvchar = 8000; | |
| 1990/05151/sys/src/9/gnot/main.c:246,258 – 1990/05313/sys/src/9/gnot/main.c:246,258 | ||
| 1990/0321 | conf.npgenv = 200; | |
| 1990/03091 | conf.nmtab = 50; conf.nmount = 100; | |
| 1990/05151 |
| |
| 1990/05313 | conf.nmntdev = 20; conf.nmntbuf = 2*conf.nmntdev; conf.nmnthdr = 2*conf.nmntdev; | |
| 1990/0310 | conf.nstream = 64; conf.nqueue = 5 * conf.nstream; | |
| 1990/0322 | conf.nblock = 12 * conf.nstream; | |
| 1990/03091 | conf.nsrv = 32; | |
| 1990/0327 | conf.nbitmap = 100; | |
| 1990/05313 | conf.nbitbyte = 400*1024; | |
| 1990/03091 | } | |
| 1990/05313/sys/src/9/gnot/main.c:17,22 – 1990/06021/sys/src/9/gnot/main.c:17,23 (short | long) | ||
| 1990/0312 | #define BOOT ((Boot*)0) char protouser[NAMELEN]; | |
| 1990/06021 | int bank[2]; | |
| 1990/0312 | void unloadboot(void); | |
| 1990/05313/sys/src/9/gnot/main.c:27,33 – 1990/06021/sys/src/9/gnot/main.c:28,36 | ||
| 1990/03091 | machinit(); mmuinit(); confinit(); | |
| 1990/06021 | kmapinit(); | |
| 1990/03091 | printinit(); | |
| 1990/06021 | print("bank 0: %dM bank 1: %dM\n", bank[0], bank[1]); | |
| 1990/03091 | flushmmu(); procinit0(); pgrpinit(); | |
| 1990/05313/sys/src/9/gnot/main.c:36,41 – 1990/06021/sys/src/9/gnot/main.c:39,45 | ||
| 1990/03091 | chandevreset(); | |
| 1990/0310 | streaminit(); | |
| 1990/03091 | pageinit(); | |
| 1990/06021 | kmapinit(); | |
| 1990/03091 | userinit(); schedinit(); } | |
| 1990/05313/sys/src/9/gnot/main.c:102,107 – 1990/06021/sys/src/9/gnot/main.c:106,112 | ||
| 1990/03091 | Proc *p; Seg *s; User *up; | |
| 1990/06021 | KMap *k; | |
| 1990/03091 | p = newproc(); p->pgrp = newpgrp(); | |
| 1990/05313/sys/src/9/gnot/main.c:121,128 – 1990/06021/sys/src/9/gnot/main.c:126,135 | ||
| 1990/03091 | /* * User */ | |
| 1990/06021 | k = kmap(p->upage); up = (User*)k->va; | |
| 1990/03091 | up->p = p; | |
| 1990/06021 | kunmap(k); | |
| 1990/03091 | /* * User Stack | |
| 1990/05313/sys/src/9/gnot/main.c:140,146 – 1990/06021/sys/src/9/gnot/main.c:147,155 | ||
| 1990/03091 | s->proc = p; s->o = neworig(UTZERO, 1, 0, 0); s->o->pte[0].page = newpage(0, 0, UTZERO); | |
| 1990/06021 | k = kmap(s->o->pte[0].page); memcpy((ulong*)k->va, initcode, sizeof initcode); kunmap(k); | |
| 1990/03091 | s->minva = UTZERO; s->maxva = UTZERO+BY2PG; | |
| 1990/05313/sys/src/9/gnot/main.c:225,230 – 1990/06021/sys/src/9/gnot/main.c:234,264 | ||
| 1990/03091 | where->next = old->next; } | |
| 1990/06021 | banksize(int base) { ulong va; if(&end > (int *)((KZERO|1024L*1024L)-BY2PG)) return 0; va = UZERO; /* user page 1 is free to play with */ putmmu(va, PTEVALID|(base+0)*1024L*1024L/BY2PG); *(ulong*)va=0; /* 0 at 0M */ putmmu(va, PTEVALID|(base+1)*1024L*1024L/BY2PG); *(ulong*)va=1; /* 1 at 1M */ putmmu(va, PTEVALID|(base+4)*1024L*1024L/BY2PG); *(ulong*)va=4; /* 4 at 4M */ putmmu(va, PTEVALID|(base+0)*1024L*1024L/BY2PG); if(*(ulong*)va==0) return 16; putmmu(va, PTEVALID|(base+1)*1024L*1024L/BY2PG); if(*(ulong*)va==1) return 4; putmmu(va, PTEVALID|(base+4)*1024L*1024L/BY2PG); if(*(ulong*)va==2) return 1; return 0; } | |
| 1990/03091 | Conf conf; void | |
| 1990/05313/sys/src/9/gnot/main.c:233,241 – 1990/06021/sys/src/9/gnot/main.c:267,281 | ||
| 1990/03091 | conf.nmach = 1; if(conf.nmach > MAXMACH) panic("confinit"); | |
| 1990/0320 |
| |
| 1990/06021 | conf.nproc = 40; | |
| 1990/03091 | conf.npgrp = 15; | |
| 1990/0320 |
| |
| 1990/06021 | bank[0] = banksize(0); bank[1] = banksize(16); conf.npage0 = (bank[0]*1024*1024)/BY2PG; conf.base0 = 0; conf.npage1 = (bank[1]*1024*1024)/BY2PG; conf.base1 = 16*1024*1024; conf.npage = conf.npage0+conf.npage1; | |
| 1990/03091 | conf.npte = 500; | |
| 1990/05313 | conf.nmod = 200; | |
| 1990/0312 | conf.nalarm = 1000; | |
| 1990/06021/sys/src/9/gnot/main.c:264,274 – 1990/0603/sys/src/9/gnot/main.c:264,273 (short | long) | ||
| 1990/03091 | void confinit(void) { | |
| 1990/0603 | int mul; | |
| 1990/03091 | conf.nmach = 1; if(conf.nmach > MAXMACH) panic("confinit"); | |
| 1990/06021 |
| |
| 1990/03091 |
| |
| 1990/06021 | bank[0] = banksize(0); bank[1] = banksize(16); conf.npage0 = (bank[0]*1024*1024)/BY2PG; | |
| 1990/06021/sys/src/9/gnot/main.c:276,298 – 1990/0603/sys/src/9/gnot/main.c:275,300 | ||
| 1990/06021 | conf.npage1 = (bank[1]*1024*1024)/BY2PG; conf.base1 = 16*1024*1024; conf.npage = conf.npage0+conf.npage1; | |
| 1990/03091 |
| |
| 1990/05313 |
| |
| 1990/0603 | mul = 1 + (conf.npage0>0); conf.nproc = 32*mul; conf.npgrp = 15*mul; conf.npte = 700*mul; conf.nmod = 400*mul; | |
| 1990/0312 | conf.nalarm = 1000; | |
| 1990/05313 |
| |
| 1990/0321 |
| |
| 1990/03091 |
| |
| 1990/05313 |
| |
| 1990/0603 | conf.norig = 150*mul; conf.nchan = 150*mul; conf.nenv = 100*mul; conf.nenvchar = 8000*mul; conf.npgenv = 200*mul; conf.nmtab = 50*mul; conf.nmount = 100*mul; conf.nmntdev = 10*mul; | |
| 1990/05313 | conf.nmntbuf = 2*conf.nmntdev; conf.nmnthdr = 2*conf.nmntdev; | |
| 1990/0310 |
| |
| 1990/0603 | conf.nstream = 64*mul; | |
| 1990/0310 | conf.nqueue = 5 * conf.nstream; | |
| 1990/0322 | conf.nblock = 12 * conf.nstream; | |
| 1990/03091 |
| |
| 1990/0327 |
| |
| 1990/05313 |
| |
| 1990/0603 | conf.nsrv = 32*mul; conf.nbitmap = 100*mul; conf.nbitbyte = 300*1024*mul; | |
| 1990/03091 | } | |
| 1990/0603/sys/src/9/gnot/main.c:296,300 – 1990/06111/sys/src/9/gnot/main.c:296,300 (short | long) | ||
| 1990/0322 | conf.nblock = 12 * conf.nstream; | |
| 1990/0603 | conf.nsrv = 32*mul; conf.nbitmap = 100*mul; | |
| 1990/06111 | conf.nbitbyte = 300*1024*mul*mul; | |
| 1990/03091 | } | |
| 1990/06111/sys/src/9/gnot/main.c:275,281 – 1990/0612/sys/src/9/gnot/main.c:275,281 (short | long) | ||
| 1990/06021 | conf.npage1 = (bank[1]*1024*1024)/BY2PG; conf.base1 = 16*1024*1024; conf.npage = conf.npage0+conf.npage1; | |
| 1990/0603 |
| |
| 1990/0612 | mul = 1 + (conf.npage1>0); | |
| 1990/0603 | conf.nproc = 32*mul; conf.npgrp = 15*mul; conf.npte = 700*mul; | |
| 1990/0612/sys/src/9/gnot/main.c:7,22 – 1990/0613/sys/src/9/gnot/main.c:7,26 (short | long) | ||
| 1990/03091 | #include "ureg.h" #include "init.h" | |
| 1990/0312 |
| |
| 1990/0613 | typedef struct Boot Boot; struct Boot { | |
| 1990/0312 | long station; long traffic; char user[NAMELEN]; char server[64]; char line[64]; | |
| 1990/0613 | }; | |
| 1990/0312 | #define BOOT ((Boot*)0) char protouser[NAMELEN]; | |
| 1990/0613 | char bootline[64]; | |
| 1990/06021 | int bank[2]; | |
| 1990/0312 | void unloadboot(void); | |
| 1990/0612/sys/src/9/gnot/main.c:48,53 – 1990/0613/sys/src/9/gnot/main.c:52,58 | ||
| 1990/0312 | unloadboot(void) { strncpy(protouser, BOOT->user, NAMELEN); | |
| 1990/0613 | memcpy(bootline, BOOT->line, 64); | |
| 1990/0312 | } void | |
| 1990/0612/sys/src/9/gnot/main.c:86,91 – 1990/0613/sys/src/9/gnot/main.c:91,99 | ||
| 1990/03091 | void init0(void) { | |
| 1990/0613 | Chan *c; u->nerrlab = 0; | |
| 1990/03091 | m->proc = u->p; u->p->state = Running; u->p->mach = m; | |
| 1990/0612/sys/src/9/gnot/main.c:94,100 – 1990/0613/sys/src/9/gnot/main.c:102,113 | ||
| 1990/03091 | u->slash = (*devtab[0].attach)(0); u->dot = clone(u->slash, 0); | |
| 1990/0613 | if(!waserror()){ c = namec("#e/bootline", Acreate, OWRITE, 0600); (*devtab[c->type].write)(c, bootline, 64); close(c); } poperror(); | |
| 1990/03091 | touser(); } | |
| 1990/0612/sys/src/9/gnot/main.c:242,260 – 1990/0613/sys/src/9/gnot/main.c:255,273 | ||
| 1990/06021 | return 0; va = UZERO; /* user page 1 is free to play with */ putmmu(va, PTEVALID|(base+0)*1024L*1024L/BY2PG); | |
| 1990/0613 | *(ulong*)va = 0; /* 0 at 0M */ | |
| 1990/06021 | putmmu(va, PTEVALID|(base+1)*1024L*1024L/BY2PG); | |
| 1990/0613 | *(ulong*)va = 1; /* 1 at 1M */ | |
| 1990/06021 | putmmu(va, PTEVALID|(base+4)*1024L*1024L/BY2PG); | |
| 1990/0613 | *(ulong*)va = 4; /* 4 at 4M */ | |
| 1990/06021 | putmmu(va, PTEVALID|(base+0)*1024L*1024L/BY2PG); | |
| 1990/0613 | if(*(ulong*)va == 0) | |
| 1990/06021 | return 16; putmmu(va, PTEVALID|(base+1)*1024L*1024L/BY2PG); | |
| 1990/0613 | if(*(ulong*)va == 1) | |
| 1990/06021 | return 4; | |
| 1990/0613 | putmmu(va, PTEVALID|(base+0)*1024L*1024L/BY2PG); if(*(ulong*)va == 4) | |
| 1990/06021 | return 1; return 0; } | |
| 1990/0613/sys/src/9/gnot/main.c:140,146 – 1990/0614/sys/src/9/gnot/main.c:140,146 (short | long) | ||
| 1990/03091 | * User */ | |
| 1990/06021 | k = kmap(p->upage); | |
| 1990/0614 | up = (User*)VA(k); | |
| 1990/03091 | up->p = p; | |
| 1990/06021 | kunmap(k); | |
| 1990/03091 | ||
| 1990/0613/sys/src/9/gnot/main.c:161,167 – 1990/0614/sys/src/9/gnot/main.c:161,167 | ||
| 1990/03091 | s->o = neworig(UTZERO, 1, 0, 0); s->o->pte[0].page = newpage(0, 0, UTZERO); | |
| 1990/06021 | k = kmap(s->o->pte[0].page); | |
| 1990/0614 | memcpy((ulong*)VA(k), initcode, sizeof initcode); | |
| 1990/06021 | kunmap(k); | |
| 1990/03091 | s->minva = UTZERO; s->maxva = UTZERO+BY2PG; | |
| 1990/0614/sys/src/9/gnot/main.c:289,295 – 1990/0617/sys/src/9/gnot/main.c:289,295 (short | long) | ||
| 1990/06021 | conf.base1 = 16*1024*1024; conf.npage = conf.npage0+conf.npage1; | |
| 1990/0612 | mul = 1 + (conf.npage1>0); | |
| 1990/0603 |
| |
| 1990/0617 | conf.nproc = 40*mul; | |
| 1990/0603 | conf.npgrp = 15*mul; conf.npte = 700*mul; conf.nmod = 400*mul; | |
| 1990/0617/sys/src/9/gnot/main.c:310,313 – 1990/0623/sys/src/9/gnot/main.c:310,314 (short | long) | ||
| 1990/0603 | conf.nsrv = 32*mul; conf.nbitmap = 100*mul; | |
| 1990/06111 | conf.nbitbyte = 300*1024*mul*mul; | |
| 1990/0623 | conf.nfont = 10*mul; | |
| 1990/03091 | } | |
| 1990/0623/sys/src/9/gnot/main.c:290,296 – 1990/0709/sys/src/9/gnot/main.c:290,296 (short | long) | ||
| 1990/06021 | conf.npage = conf.npage0+conf.npage1; | |
| 1990/0612 | mul = 1 + (conf.npage1>0); | |
| 1990/0617 | conf.nproc = 40*mul; | |
| 1990/0603 |
| |
| 1990/0709 | conf.npgrp = 12*mul; | |
| 1990/0603 | conf.npte = 700*mul; conf.nmod = 400*mul; | |
| 1990/0312 | conf.nalarm = 1000; | |
| 1990/0623/sys/src/9/gnot/main.c:300,314 – 1990/0709/sys/src/9/gnot/main.c:300,316 | ||
| 1990/0603 | conf.nenvchar = 8000*mul; conf.npgenv = 200*mul; conf.nmtab = 50*mul; | |
| 1990/0709 | conf.nmount = 80*mul; | |
| 1990/0603 | conf.nmntdev = 10*mul; | |
| 1990/05313 | conf.nmntbuf = 2*conf.nmntdev; conf.nmnthdr = 2*conf.nmntdev; | |
| 1990/0603 |
| |
| 1990/0709 | conf.nstream = 64; | |
| 1990/0310 | conf.nqueue = 5 * conf.nstream; | |
| 1990/0322 | conf.nblock = 12 * conf.nstream; | |
| 1990/0603 | conf.nsrv = 32*mul; conf.nbitmap = 100*mul; | |
| 1990/06111 |
| |
| 1990/0709 | conf.nbitbyte = 300*1024*mul; if(*(uchar*)MOUSE & (1<<4)) conf.nbitbyte *= 2; /* ldepth 1 */ | |
| 1990/0623 | conf.nfont = 10*mul; | |
| 1990/03091 | } | |
| 1990/0709/sys/src/9/gnot/main.c:313,316 – 1990/0717/sys/src/9/gnot/main.c:313,317 (short | long) | ||
| 1990/0709 | if(*(uchar*)MOUSE & (1<<4)) conf.nbitbyte *= 2; /* ldepth 1 */ | |
| 1990/0623 | conf.nfont = 10*mul; | |
| 1990/0717 | conf.nurp = 32; | |
| 1990/03091 | } | |
| 1990/0717/sys/src/9/gnot/main.c:289,301 – 1990/0721/sys/src/9/gnot/main.c:289,301 (short | long) | ||
| 1990/06021 | conf.base1 = 16*1024*1024; conf.npage = conf.npage0+conf.npage1; | |
| 1990/0612 | mul = 1 + (conf.npage1>0); | |
| 1990/0617 |
| |
| 1990/0721 | conf.nproc = 50*mul; | |
| 1990/0709 | conf.npgrp = 12*mul; | |
| 1990/0603 | conf.npte = 700*mul; conf.nmod = 400*mul; | |
| 1990/0312 | conf.nalarm = 1000; | |
| 1990/0603 | conf.norig = 150*mul; | |
| 1990/0721 | conf.nchan = 200*mul; | |
| 1990/0603 | conf.nenv = 100*mul; conf.nenvchar = 8000*mul; conf.npgenv = 200*mul; | |
| 1990/0721/sys/src/9/gnot/main.c:306,312 – 1990/0722/sys/src/9/gnot/main.c:306,312 (short | long) | ||
| 1990/05313 | conf.nmnthdr = 2*conf.nmntdev; | |
| 1990/0709 | conf.nstream = 64; | |
| 1990/0310 | conf.nqueue = 5 * conf.nstream; | |
| 1990/0322 |
| |
| 1990/0722 | conf.nblock = 24 * conf.nstream; | |
| 1990/0603 | conf.nsrv = 32*mul; conf.nbitmap = 100*mul; | |
| 1990/0709 | conf.nbitbyte = 300*1024*mul; | |
| 1990/0722/sys/src/9/gnot/main.c:308,314 – 1990/0724/sys/src/9/gnot/main.c:308,314 (short | long) | ||
| 1990/0310 | conf.nqueue = 5 * conf.nstream; | |
| 1990/0722 | conf.nblock = 24 * conf.nstream; | |
| 1990/0603 | conf.nsrv = 32*mul; | |
| 1990/0724 | conf.nbitmap = 300*mul; | |
| 1990/0709 | conf.nbitbyte = 300*1024*mul; if(*(uchar*)MOUSE & (1<<4)) conf.nbitbyte *= 2; /* ldepth 1 */ | |
| 1990/0724/sys/src/9/gnot/main.c:160,165 – 1990/0802/sys/src/9/gnot/main.c:160,166 (short | long) | ||
| 1990/03091 | s->proc = p; s->o = neworig(UTZERO, 1, 0, 0); s->o->pte[0].page = newpage(0, 0, UTZERO); | |
| 1990/0802 | s->o->npage = 1; | |
| 1990/06021 | k = kmap(s->o->pte[0].page); | |
| 1990/0614 | memcpy((ulong*)VA(k), initcode, sizeof initcode); | |
| 1990/06021 | kunmap(k); | |
| 1990/0802/sys/src/9/gnot/main.c:59,69 – 1990/08163/sys/src/9/gnot/main.c:59,72 (short | long) | ||
| 1990/03091 | machinit(void) { int n; | |
| 1990/08163 | long fpnull = 0; | |
| 1990/03091 | n = m->machno; memset(m, 0, sizeof(Mach)); m->machno = n; m->mmask = 1<<m->machno; | |
| 1990/08163 | m->fpstate = FPinit; fprestore((FPsave*)&fpnull); | |
| 1990/03091 | } void | |
| 1990/0802/sys/src/9/gnot/main.c:125,132 – 1990/08163/sys/src/9/gnot/main.c:128,134 | ||
| 1990/03091 | p->pgrp = newpgrp(); strcpy(p->text, "*init*"); | |
| 1990/0312 | strcpy(p->pgrp->user, protouser); | |
| 1990/03091 |
| |
| 1990/08163 | p->fpstate = FPinit; | |
| 1990/03091 | /* * Kernel Stack | |
| 1990/08163/sys/src/9/gnot/main.c:59,65 – 1990/0905/sys/src/9/gnot/main.c:59,64 (short | long) | ||
| 1990/03091 | machinit(void) { int n; | |
| 1990/08163 |
| |
| 1990/03091 | n = m->machno; memset(m, 0, sizeof(Mach)); | |
| 1990/08163/sys/src/9/gnot/main.c:66,72 – 1990/0905/sys/src/9/gnot/main.c:65,71 | ||
| 1990/03091 | m->machno = n; m->mmask = 1<<m->machno; | |
| 1990/08163 | m->fpstate = FPinit; | |
| 1990/0905 | fprestore(&initfp); | |
| 1990/03091 | } void | |
| 1990/0905/sys/src/9/gnot/main.c:308,314 – 1990/0911/sys/src/9/gnot/main.c:308,314 (short | long) | ||
| 1990/05313 | conf.nmnthdr = 2*conf.nmntdev; | |
| 1990/0709 | conf.nstream = 64; | |
| 1990/0310 | conf.nqueue = 5 * conf.nstream; | |
| 1990/0722 |
| |
| 1990/0911 | conf.nblock = 32 * conf.nstream; | |
| 1990/0603 | conf.nsrv = 32*mul; | |
| 1990/0724 | conf.nbitmap = 300*mul; | |
| 1990/0709 | conf.nbitbyte = 300*1024*mul; | |
| 1990/0905/sys/src/9/gnot/main.c:316,319 – 1990/0911/sys/src/9/gnot/main.c:316,320 | ||
| 1990/0709 | conf.nbitbyte *= 2; /* ldepth 1 */ | |
| 1990/0623 | conf.nfont = 10*mul; | |
| 1990/0717 | conf.nurp = 32; | |
| 1990/0911 | conf.nasync = 1; | |
| 1990/03091 | } | |
| Too many diffs (26 > 25). Stopping. | ||