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

1990/0802/power/main.c (diff list | history)

1990/0801/sys/src/9/power/main.c:246,2531990/0802/sys/src/9/power/main.c:246,258 (short | long | prev | next)
1990/0227    
	 */ 
	s = &p->seg[TSEG]; 
	s->proc = p; 
	s->o = neworig(UTZERO, 1, 0, 0); 
1990/0802    
	/* 
	 * On the mips, init text must be OCACHED to avoid reusing page 
	 * and getting in trouble with the hardware instruction cache. 
	 */ 
	s->o = neworig(UTZERO, 1, OCACHED, 0); 
1990/0227    
	s->o->pte[0].page = newpage(0, 0, UTZERO); 
1990/0802    
	s->o->npage = 1; 
1990/0617    
	k = kmap(s->o->pte[0].page); 
	memcpy((ulong*)VA(k), initcode, sizeof initcode); 
	kunmap(k); 


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