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

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

1991/0424/sys/src/9/power/main.c:8,131991/0425/sys/src/9/power/main.c:8,18 (short | long | prev | next)
1990/0227    
#include	"init.h" 
 
1990/0424    
/* 
1991/0425    
 * software tlb simulation 
 */ 
Softtlb stlb[4][STLBSIZE]; 
 
/* 
1990/0424    
 *  args passed by boot process 
 */ 
int _argc; char **_argv; char **_env; 
1991/0424/sys/src/9/power/main.c:77,831991/0425/sys/src/9/power/main.c:82,88
1990/0227    
	n = m->machno; 
	memset(m, 0, sizeof(Mach)); 
	m->machno = n; 
	m->mmask = 1<<m->machno; 
1991/0425    
	m->stb = &stlb[n][0]; 
1990/0227    
} 
 
void 
1991/0424/sys/src/9/power/main.c:100,1061991/0425/sys/src/9/power/main.c:105,111
1990/0227    
	for(size=0; size<4; size++) 
		*p++ = *q++; 
	p = (ulong*)UTLBMISS; 
	q = (ulong*)vector80; 
1991/0425    
	q = (ulong*)vector0; 
1990/0227    
	for(size=0; size<4; size++) 
		*p++ = *q++; 
} 


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