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

1995/02021/pc/vgaclgd542x.c (diff list | history)

1995/02021/sys/src/9/pc/vgaclgd542x.c:1,291997/0327/sys/src/9/pc/vgaclgd542x.c:1,33 (short | long | prev | next)
1995/02021    
#include "u.h" 
#include "../port/lib.h" 
#include "mem.h" 
#include "dat.h" 
#include "fns.h" 
#include "../port/error.h" 
 
#include <libg.h> 
#include "screen.h" 
#include "vga.h" 
 
1997/0327    
static Lock clgd542xlock; 
 
1995/02021    
static void 
clgd542xpage(int page) 
{ 
1997/0327    
	lock(&clgd542xlock); 
1995/02021    
	vgaxo(Grx, 0x09, page<<4); 
1997/0327    
	unlock(&clgd542xlock); 
1995/02021    
} 
 
static Vgac clgd542x = { 
	"clgd542x", 
	clgd542xpage, 
 
	0, 
}; 
 
void 
vgaclgd542xlink(void) 
{ 
	addvgaclink(&clgd542x); 
} 


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