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

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

1993/1219/sys/src/9/carrera/main.c:355,3601993/1221/sys/src/9/carrera/main.c:355,362 (short | long | prev | next)
1993/0903    
void 
exit(long type) 
{ 
1993/1221    
	uchar *vec; 
 
1993/0905    
	USED(type); 
1993/0903    
 
	spllo(); 
1993/1219/sys/src/9/carrera/main.c:361,3691993/1221/sys/src/9/carrera/main.c:363,375
1993/0905    
	print("cpu %d exiting\n", m->machno); 
1993/0904    
	while(consactive()) 
1993/0903    
		delay(10); 
1993/1221    
 
1993/0903    
	splhi(); 
	for(;;) 
		; 
1993/1221    
	/* Turn off the NMI hander for the debugger */ 
	vec = (uchar*)0xA0000420; 
	vec[0] = 0; 
	/* Call the prom */ 
	((void(*)(void))0xBFC00000)(); 
1993/0903    
} 
 
void 


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