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

1993/0123/ss/l.s (diff list | history)

1992/0913/sys/src/9/ss/l.s:7,171993/0123/sys/src/9/ss/l.s:7,23 (short | long | prev | next)
1990/1223    
 
	/* get virtual, fast */ 
	/* we are executing in segment 0, mapped to pmeg 0. stack is there too */ 
1990/1231    
	/* get virtual by mapping segment(KZERO) to pmeg 0., and next to 1 */ 
1993/0123    
	/* get virtual by mapping segment(KZERO) to pmeg 0, and next to 1, etc. */ 
1990/1226    
	MOVW	$KZERO, R7 
	MOVB	R0, (R7, 3) 
1990/1231    
	MOVW	$(KZERO+BY2SEGM), R7 
1993/0123    
	ADD	$(BY2SEGM), R7 
1992/0806    
	MOVW	$1, R9 
1993/0123    
	MOVB	R9, (R7, 3) 
	ADD	$(BY2SEGM), R7 
	MOVW	$2, R9 
	MOVB	R9, (R7, 3) 
	ADD	$(BY2SEGM), R7 
	MOVW	$3, R9 
1992/0806    
	MOVB	R9, (R7, 3) 
1990/1223    
	/* now mapped correctly.  jmpl to where we want to be */ 
1990/1226    
	MOVW	$setSB(SB), R2 


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