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

2001/1019/pc/devlml.c (diff list | history)

2001/1012/sys/src/9/pc/devlml.c:150,1652001/1019/sys/src/9/pc/devlml.c:150,165 (short | long | prev | next)
1999/0423    
		return; 
	} 
1999/0529    
	cdsize = CODEDATASIZE; 
1999/0525    
	codeData = (CodeData*)xspanalloc(cdsize, BY2PG, 0); 
2001/1019    
	codeData = (CodeData*)(((ulong*)xalloc(cdsize+ BY2PG) +BY2PG-1)&~(BY2PG-1)); 
1999/0422    
	if (codeData == nil) { 
1999/0525    
		print("devlml: xspanalloc(%lux, %ux, 0)\n", cdsize, BY2PG); 
2001/1019    
		print("devlml: xalloc(%lux, %ux, 0)\n", cdsize, BY2PG); 
1999/0422    
		return; 
	} 
 
1999/0529    
	grablen = GRABDATASIZE; 
	grabbuf = xspanalloc(grablen, BY2PG, 0); 
2001/1019    
	grabbuf = (void*)(((ulong*)xalloc(grablen+ BY2PG) +BY2PG-1)&~(BY2PG-1)); 
1999/0529    
	if (grabbuf == nil) { 
1999/0527    
		print("devlml: xspanalloc(%lux, %ux, 0)\n", grablen, BY2PG); 
2001/1019    
		print("devlml: xalloc(%lux, %ux, 0)\n", grablen, BY2PG); 
1999/0527    
		return; 
	} 
 


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