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

1991/0718/pc/main.c (diff list | history)

1991/0717/sys/src/9/pc/main.c:17,281991/0718/sys/src/9/pc/main.c:17,27 (short | long | prev | next)
1991/0711    
	confinit(); 
1991/0703    
	screeninit(); 
1991/0716    
	printinit(); 
1991/0711    
	print("%d pages in bank0, %d pages in bank1\n", conf.npage0, conf.npage1); 
	print("edata == %lux, end == %lux\n", &edata, &end); 
	mmuinit(); 
1991/0717    
print("mmu inited\n"); 
1991/0718    
	trapinit(); 
	clockinit(); 
	faultinit(); 
1991/0716    
	procinit0(); 
1991/0717    
print("proc inited\n"); 
1991/0716    
	initseg(); 
	grpinit(); 
	chaninit(); 
1991/0717/sys/src/9/pc/main.c:29,351991/0718/sys/src/9/pc/main.c:28,33
1991/0711    
	alarminit(); 
1991/0716    
	chandevreset(); 
	streaminit(); 
	trapinit(); 
	swapinit(); 
	pageinit(); 
	userinit(); 
1991/0717/sys/src/9/pc/main.c:54,591991/0718/sys/src/9/pc/main.c:52,59
1991/0716    
	active.machs = 1; 
1991/0625    
} 
 
1991/0718    
long useless; 
 
1991/0716    
void 
init0(void) 
1991/0712    
{ 
1991/0717/sys/src/9/pc/main.c:65,701991/0718/sys/src/9/pc/main.c:65,71
1991/0716    
	u->p->mach = m; 
1991/0712    
 
1991/0716    
	spllo(); 
1991/0718    
print("interrupts on\n"); 
1991/0712    
 
1991/0716    
	/* 
	 * These are o.k. because rootinit is null. 
1991/0717/sys/src/9/pc/main.c:74,811991/0718/sys/src/9/pc/main.c:75,87
1991/0716    
	u->dot = clone(u->slash, 0); 
1991/0712    
 
1991/0716    
	chandevinit(); 
1991/0718    
print("going to user\n"); 
1991/0716    
 
/*	kickpager();	/* BUG */ 
1991/0718    
	/* 
	 *  fault in the first executable page 
	 */ 
	useless = *((ulong *)UTZERO); 
 
1991/0716    
	touser(); 
1991/0712    
} 
 


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