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

1993/1218/carrera/main.c (diff list | history)

1993/1217/sys/src/9/carrera/main.c:37,431993/1218/sys/src/9/carrera/main.c:37,42 (short | long | prev | next)
1993/0903    
void 
main(void) 
{ 
1993/1217    
	rdbginit(); 
	tlbinit(); 
	ioinit(1);		/* Very early to establish IO mappings */ 
1993/0903    
	arginit(); 
1993/1217/sys/src/9/carrera/main.c:173,1791993/1218/sys/src/9/carrera/main.c:172,178
1993/0903    
void 
1993/0918    
ioinit(int mapeisa) 
1993/0903    
{ 
1993/0907    
	ulong devphys, isaphys, intphys, isamphys; 
1993/1218    
	ulong devphys, isaphys, intphys, isamphys, promphys; 
1993/0903    
 
1993/0904    
	/* 
1993/0918    
	 * If you want to segattach the eisa space these 
1993/1217/sys/src/9/carrera/main.c:206,2131993/1218/sys/src/9/carrera/main.c:205,214
1993/1208    
	/* Enable all device interrupts */ 
1993/0905    
	IO(ushort, Intenareg) = 0xffff; 
1993/0908    
 
	/* Look at the first 16M of Eisa memory */ 
/*	IO(uchar, EisaLatch) = 0; /**/ 
1993/1218    
	/* Map the rom back into Promvirt to allow NMI handling */ 
	promphys = IOPTE|PPN(Promphys); 
 
	puttlbx(3, Promvirt, promphys, PTEGLOBL, PGSZ1M); 
1993/1208    
} 
 
1993/0906    
/* 


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