plan 9 kernel history: overview | file list | diff list

1992/0715/pc/main.c (diff list | history)

1992/0711/sys/src/9/pc/main.c:199,2041992/0715/sys/src/9/pc/main.c:199,205 (short | long | prev | next)
1991/0711    
{ 
	long x, i, j, *l; 
	int mul; 
1992/0715    
	ulong ktop; 
1991/0711    
 
	/* 
1991/0823    
	 *  the first 640k is the standard useful memory 
1992/0711/sys/src/9/pc/main.c:237,2421992/0715/sys/src/9/pc/main.c:238,248
1992/0625    
	conf.npage1 = ((i-1)*MB - conf.base1)/BY2PG; 
1991/0711    
	conf.npage = conf.npage0 + conf.npage1; 
1992/0625    
	conf.upages = (conf.npage*70)/100; 
1992/0715    
 
	ktop = PGROUND((ulong)end); 
	ktop = PADDR(ktop); 
	conf.npage0 -= ktop/BY2PG; 
	conf.base0 += ktop; 
1991/0711    
 
1992/0625    
	/* for meminit() */ 
	conf.topofmem = i*MB; 


source code copyright © 1990-2005 Lucent Technologies; see license
Plan 9 distribution
comments to russ cox (rsc@swtch.com)