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

1991/0608/ss/main.c (diff list | history)

1991/0604/sys/src/9/ss/main.c:81,911991/0608/sys/src/9/ss/main.c:81,96 (short | long | prev | next)
1991/0604    
{ 
	KMap *k; 
 
1991/0608    
	/* tell scc driver it's address */ 
1991/0604    
	k = kmappa(KMDUART, PTEIO|PTENOCACHE); 
	sccsetup((void*)(k->va)); 
	sccspecial(0, 0, &kbdq, 2400);		/* scc port 0 is the keyboard */ 
1991/0608    
 
	/* scc port 0 is the keyboard */ 
	sccspecial(0, 0, &kbdq, 2400); 
1991/0604    
	kbdq.putc = kbdstate; 
	sccspecial(1, 0, &mouseq, 2400);	/* scc port 1 is the mouse */ 
1991/0608    
 
	/* scc port 1 is the mouse */ 
	sccspecial(1, 0, &mouseq, 2400); 
1991/0604    
} 
 
void 
1991/0604/sys/src/9/ss/main.c:170,1781991/0608/sys/src/9/ss/main.c:175,186
1990/1223    
	int i; 
 
	u = 0; 
1991/0608    
	spllo(); 
	print("cpu %d exiting\n", m->machno); 
	while(consactive()) 
		for(i=0; i<1000; i++) 
			; 
1990/1223    
	splhi(); 
	print("exiting\n"); 
1991/0111    
	delay(30*1000); 
1990/1226    
	reset(); 
1990/1223    
} 
 
1991/0604/sys/src/9/ss/main.c:291,2961991/0608/sys/src/9/ss/main.c:299,305
1990/1223    
	conf.nservice = 3*mul;			/* was conf.nproc/5 */ 
	conf.nfsyschan = 31 + conf.nchan/20; 
	conf.copymode = 0;		/* copy on write */ 
1991/0608    
	conf.cntrlp = 0; 
1990/1231    
} 
 
/* 


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