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

1997/0521/pc/i8259.c (diff list | history)

1997/0521/sys/src/9/pc/i8259.c:121,1281998/0320/sys/src/9/pc/i8259.c:121,130 (short | long | prev | next)
add print for out-of-range vectors
rsc Fri Mar 4 12:44:25 2005
1997/0327    
int 
i8259enable(int v, int, Irqctl* irqctl) 
{ 
	if(v < VectorPIC || v > MaxVectorPIC) 
		return 0; 
1998/0320    
	if(v < VectorPIC || v > MaxVectorPIC){ 
		print("i8259enable: vector %d out of range\n", v); 
		return -1; 
	} 
1997/0327    
	v -= VectorPIC; 
 
	/* 


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