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

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

1999/0424/sys/src/9/alphapc/arch164.c:42,481999/0501/sys/src/9/alphapc/arch164.c:42,48 (short | long | prev | next)
1999/0424    
	for(pa = 0; pa < 8*1024*1024; pa += BY2PG) 
		*pte++ = ((pa>>PGSHIFT)<<1)|1; 
 
	wind[0x400/4] = ISAWINDOW|2; 
1999/0501    
	wind[0x400/4] = ISAWINDOW|4|2|1; 
1999/0424    
	wind[0x440/4] = 0x00700000; 
	wind[0x480/4] = PADDR(sgmap); 
} 
1999/0424/sys/src/9/alphapc/arch164.c:91,971999/0501/sys/src/9/alphapc/arch164.c:91,97
1999/0415    
	core[0x8200/4] = 0x7ff; 
 
	/* set config: byte/word enable, no monster window, etc. */ 
	core[0x140/4] = 1; 
1999/0501    
	core[0x140/4] = 0x21; 
1999/0415    
 
	/* turn off mcheck on master abort.  now we can probe PCI space. */ 
	core[0x8280/4] &= ~(1<<7); 
1999/0424/sys/src/9/alphapc/arch164.c:99,1041999/0501/sys/src/9/alphapc/arch164.c:99,110
1999/0415    
	/* set up interrupts. */ 
	i8259init(); 
	cserve(52, 4);		/* enable SIO interrupt */ 
1999/0501    
} 
 
void 
ciaerror(void) 
{ 
	print("cia error 0x%luX\n", core[0x8200/4]); 
1999/0415    
} 
 
static void 


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