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

1991/0806/pc/main.c (diff list | history)

1991/0803/sys/src/9/pc/main.c:285,2911991/0806/sys/src/9/pc/main.c:285,296 (short | long | prev | next)
1991/0803    
	Pmudata=	0x198, 
 
	Pmucsr=		0x199, 
	 Busy=	0x1, 
1991/0806    
	 Busy=		0x1, 
 
	/* 
	 *  configuration port 
	 */ 
	Pconfig=	0x3F3, 
1991/0803    
}; 
 
/* 
1991/0803/sys/src/9/pc/main.c:368,3731991/0806/sys/src/9/pc/main.c:373,386
1991/0803    
int 
serial(int onoff) 
{ 
1991/0806    
	int x; 
 
	/* 
	 *  set config (enable everything) 
	 */ 
	x = splhi(); 
	config(0x00); 
	splx(x); 
1991/0803    
	return pmuwrbit(1, onoff, 6); 
} 
 


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