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

2001/0908/pc/vgamach64xx.c (diff list | history)

2001/0704/sys/src/9/pc/vgamach64xx.c:90,962001/0908/sys/src/9/pc/vgamach64xx.c:90,95 (short | long | prev | next)
1999/1005    
	ulong aperture, osize, oaperture; 
2000/0611    
	int i, oapsize, wasupamem; 
1998/0507    
	Pcidev *p; 
1999/1005    
	Physseg seg; 
1998/0507    
 
1999/1005    
	osize = *size; 
1998/0507    
	oaperture = scr->aperture; 
2001/0704/sys/src/9/pc/vgamach64xx.c:128,1442001/0908/sys/src/9/pc/vgamach64xx.c:127,134
2000/0613    
	scr->mmio = KADDR(aperture+osize-0x400); 
2001/0704    
	if(oaperture && oaperture != aperture) 
1999/1005    
		print("warning (BUG): redefinition of aperture does not change mach64mmio segment\n"); 
	memset(&seg, 0, sizeof(seg)); 
	seg.attr = SG_PHYSICAL; 
2001/0527    
	kstrdup(&seg.name, "mach64mmio"); 
1999/1005    
	seg.pa = aperture+osize - BY2PG; 
	seg.size = BY2PG; 
	addphysseg(&seg); 
                 
2001/0527    
	kstrdup(&seg.name, "mach64screen"); 
1999/1005    
	seg.pa = aperture; 
	seg.size = osize; 
	addphysseg(&seg); 
2001/0908    
	addvgaseg("mach64mmio", aperture+osize-BY2PG, BY2PG); 
	addvgaseg("mach64screen", aperture, osize); 
1999/1005    
 
1998/0507    
	return aperture; 
} 


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