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

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

1993/0907/sys/src/9/carrera/main.c:47,531993/0908/sys/src/9/carrera/main.c:47,53 (short | long | prev | next)
1993/0905    
	serialinit(); 
1993/0903    
	vecinit(); 
	iprint("\n\nBrazil\n"); 
1993/0907    
/*screeninit();*/ 
1993/0908    
 screeninit(); /**/ 
1993/0903    
	pageinit(); 
	procinit0(); 
	initseg(); 
1993/0907/sys/src/9/carrera/main.c:170,1771993/0908/sys/src/9/carrera/main.c:170,177
1993/0904    
	/* 
1993/0906    
	 * Map devices and the Eisa control space 
1993/0904    
	 */ 
1993/0906    
	devphys = PPN(Devicephys)|PTEGLOBL|PTEVALID|PTEWRITE|PTEUNCACHED; 
	isaphys = PPN(Eisaphys)|PTEGLOBL|PTEVALID|PTEWRITE|PTEUNCACHED; 
1993/0908    
	devphys = IOPTE|PPN(Devicephys); 
	isaphys = IOPTE|PPN(Eisaphys); 
1993/0903    
 
1993/0906    
	puttlbx(1, Devicevirt, devphys, isaphys, PGSZ64K); 
 
1993/0907/sys/src/9/carrera/main.c:178,1901993/0908/sys/src/9/carrera/main.c:178,195
1993/0904    
	/* 
1993/0907    
	 * Map Interrupt control & Eisa memory 
1993/0904    
	 */ 
1993/0906    
	intphys = PPN(Intctlphys)|PTEGLOBL|PTEVALID|PTEWRITE|PTEUNCACHED; 
1993/0907    
	isamphys = PPN(Eisamphys)|PTEGLOBL|PTEVALID|PTEWRITE|PTEUNCACHED; 
1993/0908    
	intphys  = IOPTE|PPN(Intctlphys); 
	isamphys = IOPTE|PPN(Eisamphys); 
1993/0904    
 
1993/0907    
	puttlbx(2, Intctlvirt, intphys, isamphys, PGSZ1M); 
 
1993/0905    
	/* Enable all devce interrupt */ 
	IO(ushort, Intenareg) = 0xffff; 
1993/0908    
 
	/* Look at the first 16M of Eisa memory */ 
iprint("write latch\n"); 
/*	IO(uchar, EisaLatch) = 0; /**/ 
iprint("done\n"); 
1993/0903    
} 
 
1993/0906    
/* 


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