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

1992/0317/port/page.c (diff list | history)

1992/0315/sys/src/9/port/page.c:97,1031992/0317/sys/src/9/port/page.c:97,103 (short | long | prev | next)
1992/0315    
 *  Called to allocate permanent data structures, before calling pageinit(). 
 *  We assume all of text+data+bss is in the first memory bank. 
 * 
 *  alignment is in number of bytes.  It pretains both to the start and 
1992/0317    
 *  alignment is in number of bytes.  It pertains both to the start and 
1992/0315    
 *  end of the allocated memory. 
 * 
 *  If crevasse is specified, no allocation can span an address that is 
1992/0315/sys/src/9/port/page.c:195,2001992/0317/sys/src/9/port/page.c:195,201
1992/0303    
	ulong i, vmem, pmem, hw, hr; 
1990/0227    
	Page *p; 
 
1992/0317    
print("addr0 %lux addr1 %lux\n", palloc.addr0, palloc.addr1); 
1991/0802    
	/* 
	 *  calculate an upper bound to the number of pages structures 
	 *  we'll need (np). 


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