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

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

1993/0906/sys/src/9/carrera/main.c:47,521993/0907/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/0903    
	pageinit(); 
	procinit0(); 
	initseg(); 
1993/0906/sys/src/9/carrera/main.c:54,601993/0907/sys/src/9/carrera/main.c:55,60
1993/0903    
	rootfiles(); 
	swapinit(); 
	userinit(); 
1993/0906    
screeninit(); 
1993/0903    
	schedinit(); 
} 
 
1993/0906/sys/src/9/carrera/main.c:155,1601993/0907/sys/src/9/carrera/main.c:155,162
1993/0905    
{ 
	NS16552setup(Uart1, UartFREQ); 
	NS16552special(0, 9600, &kbdq, &printq, kbdcr2nl); 
1993/0907    
 
	kbdinit(); 
1993/0905    
} 
 
/* 
1993/0906/sys/src/9/carrera/main.c:163,1691993/0907/sys/src/9/carrera/main.c:165,171
1993/0903    
void 
ioinit(void) 
{ 
1993/0906    
	ulong devphys, isaphys, intphys; 
1993/0907    
	ulong devphys, isaphys, intphys, isamphys; 
1993/0903    
 
1993/0904    
	/* 
1993/0906    
	 * Map devices and the Eisa control space 
1993/0906/sys/src/9/carrera/main.c:174,1841993/0907/sys/src/9/carrera/main.c:176,188
1993/0906    
	puttlbx(1, Devicevirt, devphys, isaphys, PGSZ64K); 
 
1993/0904    
	/* 
	 * Map Interrupt control 
1993/0907    
	 * Map Interrupt control & Eisa memory 
1993/0904    
	 */ 
1993/0906    
	intphys = PPN(Intctlphys)|PTEGLOBL|PTEVALID|PTEWRITE|PTEUNCACHED; 
	puttlbx(2, Intctlvirt, intphys, PTEGLOBL, PGSZ4K); 
1993/0907    
	isamphys = PPN(Eisamphys)|PTEGLOBL|PTEVALID|PTEWRITE|PTEUNCACHED; 
1993/0904    
 
1993/0907    
	puttlbx(2, Intctlvirt, intphys, isamphys, PGSZ1M); 
 
1993/0905    
	/* Enable all devce interrupt */ 
	IO(ushort, Intenareg) = 0xffff; 
1993/0903    
} 
1993/0906/sys/src/9/carrera/main.c:268,2751993/0907/sys/src/9/carrera/main.c:272,277
1993/0903    
	touser((uchar*)(USTKTOP-sizeof(argbuf))); 
} 
 
FPsave	initfp; 
                 
void 
userinit(void) 
{ 
1993/0906/sys/src/9/carrera/main.c:370,3761993/0907/sys/src/9/carrera/main.c:372,378
1993/0903    
	conf.arp = 32; 
	conf.frag = 32; 
 
1993/0906    
	conf.monitor = 1; 
1993/0907    
	conf.monitor = 0; 
1993/0906    
 
1993/0905    
	conf.copymode = 0;		/* copy on write */ 
1993/0903    
} 
1993/0906/sys/src/9/carrera/main.c:379,3891993/0907/sys/src/9/carrera/main.c:381,386
1993/0903    
/* 
 *  for the sake of devcons 
 */ 
void 
lights(int v) 
{ 
	USED(v); 
} 
 
void 
buzz(int f, int d) 


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