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

1990/11211/gnot/main.c (diff list | history)

1990/11151/sys/src/9/gnot/main.c:20,261990/11211/sys/src/9/gnot/main.c:20,26 (short | long | prev | next)
1990/0613    
}; 
1990/0312    
#define BOOT ((Boot*)0) 
 
char protouser[NAMELEN]; 
1990/11211    
char user[NAMELEN]; 
1990/0613    
char bootline[64]; 
1990/0918    
char bootserver[64]; 
1990/0917    
char bootdevice[2]; 
1990/11151/sys/src/9/gnot/main.c:46,531990/11211/sys/src/9/gnot/main.c:46,53
1990/03091    
	alarminit(); 
	chandevreset(); 
1990/0310    
	streaminit(); 
1990/1104    
	serviceinit(); 
1990/1110    
	filsysinit(); 
1990/11211    
/*	serviceinit(); /**/ 
/*	filsysinit(); /**/ 
1990/03091    
	pageinit(); 
1990/06021    
	kmapinit(); 
1990/03091    
	userinit(); 
1990/11151/sys/src/9/gnot/main.c:57,631990/11211/sys/src/9/gnot/main.c:57,63
1990/03091    
void 
1990/0312    
unloadboot(void) 
{ 
	strncpy(protouser, BOOT->user, NAMELEN); 
1990/11211    
	strncpy(user, BOOT->user, NAMELEN); 
1990/0613    
	memcpy(bootline, BOOT->line, 64); 
1990/0918    
	memcpy(bootserver, BOOT->server, 64); 
1990/0917    
	bootdevice[0] = BOOT->device; 
1990/11151/sys/src/9/gnot/main.c:136,1421990/11211/sys/src/9/gnot/main.c:136,142
1990/03091    
	p = newproc(); 
	p->pgrp = newpgrp(); 
	strcpy(p->text, "*init*"); 
1990/0312    
	strcpy(p->pgrp->user, protouser); 
1990/11211    
	strcpy(p->pgrp->user, user); 
1990/03091    
 
	/* 
	 * Kernel Stack 


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