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

2001/0728/alphapc/main.c (diff list | history)

2001/0727/sys/src/9/alphapc/main.c:29,372001/0728/sys/src/9/alphapc/main.c:29,37 (short | long | prev | next)
2001/0727    
	long i, n; 
	char *cp, *line[MAXCONF], *p, *q; 
2000/0401    
 
	cp = bootconf->bootargs; 
2001/0728    
	cp = bootargs; 
	strncpy(cp, bootconf->bootargs, BOOTARGSLEN); 
2000/0401    
	cp[BOOTARGSLEN-1] = 0; 
	strcpy(bootargs, cp); 
 
2001/0727    
	/* 
	 * Strip out '\r', change '\t' -> ' '. 
2001/0727/sys/src/9/alphapc/main.c:88,1032001/0728/sys/src/9/alphapc/main.c:88,93
2000/0401    
	if(arch->corehello) 
1999/0415    
		arch->corehello(); 
 
#ifdef	NEVER 
	percpu = hwrpb + (hwrpb[40]>>2); 
1999/0515    
//	percpu[32] |= 2;		/* restart capable */ 
	percpu[32] &= ~1;		/* boot in progress - not */ 
1999/0415    
//	percpu[32] |= (3<<16);		/* warm boot requested */ 
//	percpu[32] |= (2<<16);		/* cold boot requested */ 
//	percpu[32] |= (4<<16);		/* stay halted */ 
	percpu[32] |= (0<<16);		/* default action */ 
#endif 
                 
	procinit0(); 
	initseg(); 
	links(); 
2001/0727/sys/src/9/alphapc/main.c:118,1232001/0728/sys/src/9/alphapc/main.c:108,114
1999/0415    
machinit(void) 
{ 
	int n; 
2001/0728    
	Hwcpu *cpu; 
1999/0415    
 
	icflush(); 
	n = m->machno; 
2001/0727/sys/src/9/alphapc/main.c:126,1312001/0728/sys/src/9/alphapc/main.c:117,126
1999/0415    
 
	active.exiting = 0; 
	active.machs = 1; 
2001/0728    
 
	cpu = (Hwcpu*) ((ulong)hwrpb + hwrpb->cpuoff + n*hwrpb->cpulen); 
	cpu->state &= ~1;			/* boot in progress - not */ 
/*	cpu->state |= (4<<16);		/* stay halted */ 
1999/0415    
} 
 
void 


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