Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2005/1231/4

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Re-fix i81x cursor.
 [jmk] --rw-rw-r-- M 12721 glenda sys 12059 Dec 31 19:14 sys/src/cmd/aux/vga/i81x.c
	/n/sourcesdump/2005/1231/plan9/sys/src/cmd/aux/vga/i81x.c:315,320 - 
	/n/sourcesdump/2006/0101/plan9/sys/src/cmd/aux/vga/i81x.c:315,321
	  	int i;
	  	ulong *rp;
	  	I81x *i81x;
	+ 	char *p;
	  
	  	i81x = vga->private;
	  
	/n/sourcesdump/2005/1231/plan9/sys/src/cmd/aux/vga/i81x.c:338,343 - 
	/n/sourcesdump/2006/0101/plan9/sys/src/cmd/aux/vga/i81x.c:339,357
	  		*rp++ = i81x->lcd[i];
	  	/* set cursor, graphic mode */
	  	rp = (ulong*)(i81x->mmio+0x70008);
	+ 	*rp = i81x->pixconf | (1<<8);
	+ 
	+ 	p = (char*)(i81x->mmio+Pixmask);	/* DACMASK */
	+ 	*p = 0xff;
	+ 	p = (char*)(i81x->mmio+PaddrW);		/* DACWX */
	+ 	*p = 0x04;
	+ 	p = (char*)(i81x->mmio+Pdata);		/* DACDATA */
	+ 	*p = 0xff;
	+ 	*p = 0xff;
	+ 	*p = 0xff;
	+ 	*p = 0x00;
	+ 	*p = 0x00;
	+ 	*p = 0x00;
	  	*rp = i81x->pixconf;
	  
	  	ctlr->flag |= Fload;


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.