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

1999/0512/alphapc/mmu.c (diff list | history)

1999/0511/sys/src/9/alphapc/mmu.c:238,2511999/0512/sys/src/9/alphapc/mmu.c:238,249 (short | long | prev | next)
1999/0511    
	void *va; 
 
	/* 
	 * Viability hack. 
	return kmapv(((uvlong)space<<32LL)|offset, size); 
	return kmapio(0x88, addr, len); 
1999/0512    
	 * Viability hack. Only for PCI frambuffers. 
1999/0511    
	 */ 
1999/0512    
	if(pa == 0) 
		return 0; 
1999/0511    
	USED(align); 
print("upa0: pa %luX size %d, align %d nextio %luX\n", pa, size, align, nextio); 
	va = kmapv(((uvlong)0x88<<32LL)|pa, size); 
print("upa1: va %luX nextio %luX\n", va, nextio); 
	if(va == nil) 
		return 0; 
	return PADDR(va); 


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