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

1999/0423/alphapc/arch164.c (diff list | history)

1999/0415/sys/src/9/alphapc/arch164.c:54,621999/0423/sys/src/9/alphapc/arch164.c:54,63 (short | long | prev | next)
1999/0415    
	} 
	coresave[0] = core[0x140/4]; 
 
	/* direct map bottom 2G PCI target space to KZERO in window 1 */ 
	wind[0x500/4] = KZERO|1; 
	wind[0x540/4] = 0x7ff00000; 
1999/0423    
#ifdef notdef 
	/* direct map bottom 1G PCI target space to KZERO in window 1 */ 
	wind[0x500/4] = PCIWINDOW|1; 
	wind[0x540/4] = 0x3ff00000; 
1999/0415    
	wind[0x580/4] = 0; 
 
	/* disable other windows */ 
1999/0415/sys/src/9/alphapc/arch164.c:63,681999/0423/sys/src/9/alphapc/arch164.c:64,70
1999/0415    
	wind[0x400/4] = 0; 
	wind[0x600/4] = 0; 
	wind[0x700/4] = 0; 
1999/0423    
#endif /* notdef */ 
1999/0415    
 
	/* clear error state */ 
	core[0x8200/4] = 0x7ff; 
1999/0415/sys/src/9/alphapc/arch164.c:263,2681999/0423/sys/src/9/alphapc/arch164.c:265,271
1999/0415    
{ 
	mb(); 
	*(uchar*)(iobase(port)) = val; 
1999/0423    
	mb(); 
1999/0415    
} 
 
void 
1999/0415/sys/src/9/alphapc/arch164.c:270,2751999/0423/sys/src/9/alphapc/arch164.c:273,279
1999/0415    
{ 
	mb(); 
	*(ushort*)(iobase(port)) = val; 
1999/0423    
	mb(); 
1999/0415    
} 
 
void 
1999/0415/sys/src/9/alphapc/arch164.c:277,2821999/0423/sys/src/9/alphapc/arch164.c:281,287
1999/0415    
{ 
	mb(); 
	*(ulong*)(iobase(port)) = val; 
1999/0423    
	mb(); 
1999/0415    
} 
 
void 


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