| plan 9 kernel history: overview | file list | diff list |
1992/1113/pc/main.c (diff list | history)
| 1992/1112/sys/src/9/pc/main.c:232,238 – 1992/1113/sys/src/9/pc/main.c:232,238 (short | long | prev | next) | ||
| 1991/0711 | /* | |
| 1991/0823 | * the first 640k is the standard useful memory | |
| 1992/1113 | * the next 128K is the display, I/O mem, and BIOS | |
| 1992/0429 | * the last 256k belongs to the roms and other devices | |
| 1991/0711 | */ | |
| 1991/0823 | conf.npage0 = 640/4; | |
| 1992/1112/sys/src/9/pc/main.c:271,278 – 1992/1113/sys/src/9/pc/main.c:271,278 | ||
| 1992/1016 | conf.npage1 = (i*MB - conf.base1)/BY2PG; | |
| 1991/0711 | conf.npage = conf.npage0 + conf.npage1; | |
| 1992/1002 | ||
| 1992/1112 |
| |
| 1992/1014 |
| |
| 1992/1113 | conf.ldepth = 0; pcnt = (1<<conf.ldepth)-1; /* Calculate % of memory for page pool */ | |
| 1992/1014 | pcnt = 70 - (pcnt*10); conf.upages = (conf.npage*pcnt)/100; if(conf.npage - conf.upages < 1572864/BY2PG) | |