| plan 9 kernel history: overview | file list | diff list |
1990/0912/power/main.c (diff list | history)
| 1990/0911/sys/src/9/power/main.c:47,52 – 1990/0912/sys/src/9/power/main.c:47,53 (short | long | prev | next) | ||
| 1990/0227 | active.machs = 1; confinit(); | |
| 1990/0504 | arginit(); | |
| 1990/0912 | sysloginit(); | |
| 1990/0227 | lockinit(); printinit(); tlbinit(); | |
| 1990/0911/sys/src/9/power/main.c:59,65 – 1990/0912/sys/src/9/power/main.c:60,65 | ||
| 1990/0826 | ioboardinit(); | |
| 1990/0227 | chandevreset(); streaminit(); | |
| 1990/0718 |
| |
| 1990/0227 | pageinit(); userinit(); launchinit(); | |
| 1990/0911/sys/src/9/power/main.c:112,123 – 1990/0912/sys/src/9/power/main.c:112,127 | ||
| 1990/0227 | { long i; | |
| 1990/0911 | int noforce; | |
| 1990/0912 | int maxlevel; | |
| 1990/0826 | ioid = *IOID; | |
| 1990/0911 |
| |
| 1990/0912 | if(ioid >= IO3R1){ maxlevel = 11; | |
| 1990/0911 | noforce = 1; | |
| 1990/0912 | } else { maxlevel = 8; | |
| 1990/0911 | noforce = 0; | |
| 1990/0912 | } | |
| 1990/0227 | ||
| 1990/0911 | ||
| 1990/0227 | /* | |
| 1990/0911/sys/src/9/power/main.c:138,144 – 1990/0912/sys/src/9/power/main.c:142,148 | ||
| 1990/0227 | /* | |
| 1990/0907 | * tell IO2 to sent all interrupts to CPU 0's SBCC | |
| 1990/0227 | */ | |
| 1990/0907 |
| |
| 1990/0912 | for(i=0; i<maxlevel; i++) | |
| 1990/0227 | INTVECREG->i[i].vec = 0<<8; /* | |
| 1990/0911/sys/src/9/power/main.c:302,312 – 1990/0912/sys/src/9/power/main.c:306,323 | ||
| 1990/0227 | launch(int n) { Beef *p; | |
| 1990/0912 | long i, s; ulong *ptr; | |
| 1990/0227 | p = (Beef*) 0xb0000500 + n; p->launch = newstart; | |
| 1990/0912 | p->sum = 0; s = 0; ptr = (ulong*)p; for (i = 0; i < sizeof(Beef)/sizeof(ulong); i++) s += *ptr++; p->sum = -(s+1); | |
| 1990/0227 | for(i=0; i<3000000; i++) if(p->launch == 0) break; | |