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

2002/0109/alphapc/main.c (diff list | history)

2001/0731/sys/src/9/alphapc/main.c:145,1602002/0109/sys/src/9/alphapc/main.c:145,160 (short | long | prev | next)
1999/0415    
	chandevinit(); 
 
	if(!waserror()){ 
		ksetenv("cputype", "alpha"); 
2002/0109    
		ksetenv("cputype", "alpha", 0); 
2001/0727    
		sprint(tstr, "alpha %s alphapc", conffile); 
		ksetenv("terminal", tstr); 
2002/0109    
		ksetenv("terminal", tstr, 0); 
2000/0401    
		if(cpuserver) 
			ksetenv("service", "cpu"); 
2002/0109    
			ksetenv("service", "cpu", 0); 
2000/0401    
		else 
			ksetenv("service", "terminal"); 
2002/0109    
			ksetenv("service", "terminal", 0); 
2000/0401    
		for(i = 0; i < nconf; i++) 
			if(confname[i] && confname[i][0] != '*') 
				ksetenv(confname[i], confval[i]); 
2002/0109    
			if(confname[i]) 
				ksetenv(confname[i], confval[i], 1); 
1999/0415    
		poperror(); 
	} 
 
2001/0731/sys/src/9/alphapc/main.c:257,2622002/0109/sys/src/9/alphapc/main.c:257,270
1999/0515    
	 * trashed page tables it will crash. 
	 */ 
1999/0415    
} 
2002/0109    
 
/* still too do */ 
void 
reboot(void*, void*, ulong) 
{ 
	exit(0); 
} 
 
1999/0415    
 
void 
exit(int) 


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