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

1991/0607/power/main.c (diff list | history)

1991/0426/sys/src/9/power/main.c:57,621991/0607/sys/src/9/power/main.c:57,63 (short | long | prev | next)
1990/0504    
	arginit(); 
1990/0227    
	lockinit(); 
	printinit(); 
1991/0607    
	duartspecial(0, &printq, &kbdq, 9600); 
1990/0227    
	tlbinit(); 
	vecinit(); 
	procinit0(); 
1991/0426/sys/src/9/power/main.c:83,881991/0607/sys/src/9/power/main.c:84,90
1990/0227    
	memset(m, 0, sizeof(Mach)); 
	m->machno = n; 
1991/0425    
	m->stb = &stlb[n][0]; 
1991/0607    
	duartinit(); 
1990/0227    
} 
 
void 
1991/0426/sys/src/9/power/main.c:370,3821991/0607/sys/src/9/power/main.c:372,384
1990/0227    
	unlock(&active); 
	spllo(); 
	print("cpu %d exiting\n", m->machno); 
	while(active.machs || consactive()) 
1991/0607    
	while(active.machs || duartactive()) 
1990/0227    
		for(i=0; i<1000; i++) 
			; 
	splhi(); 
	for(i=0; i<2000000; i++) 
		; 
	duartreset(); 
1991/0607    
	duartenable0(); 
1990/0227    
	firmware(); 
} 
 
1991/0426/sys/src/9/power/main.c:819,8211991/0607/sys/src/9/power/main.c:821,837
1990/1229    
	MODEREG->promenet &= ~4; 
	MODEREG->promenet |= 4; 
1990/0227    
} 
1991/0607    
 
/* 
 *  for the sake of a single devcons.c 
 */ 
void 
buzz(int f, int d) 
{ 
} 
int 
mouseputc(IOQ *q, int c) 
{ 
	return 0; 
} 
 


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