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

1994/0603/pc/l.s (diff list | history)

1994/0602/sys/src/9/pc/l.s:186,1921994/0603/sys/src/9/pc/l.s:186,191 (short | long | prev | next)
Do not clear AX before inl (Why? speed fix or bug fix?). Remove idle.
rsc Fri Mar 4 12:44:25 2005
1993/0915    
TEXT	inl(SB), $0 
 
	MOVL	p+0(FP), DX 
	XORL	AX, AX 
	INL 
	RET 
 
1994/0602/sys/src/9/pc/l.s:205,2101994/0603/sys/src/9/pc/l.s:204,210
1992/0917    
 * output a short to a port 
 */ 
TEXT	outs(SB), $0 
1994/0603    
 
1992/0917    
	MOVL	p+0(FP), DX 
	MOVL	s+4(FP), AX 
1992/0922    
	OP16; OUTL 
1994/0602/sys/src/9/pc/l.s:557,5691994/0603/sys/src/9/pc/l.s:557,562
1993/1116    
TEXT	getstatus(SB),$0 
	PUSHFL 
	POPL	AX 
	RET 
                 
1991/0706    
/* 
1991/0710    
 *  do nothing whatsoever till interrupt happens 
1991/0706    
 */ 
TEXT	idle(SB),$0 
	HLT 
1994/0302    
	RET 
 
/* 


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