Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Feb 2003 13:10:35 -0800 (PST)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 25060 for review
Message-ID:  <200302122110.h1CLAZF5069046@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=25060

Change 25060 by marcel@marcel_vaio on 2003/02/12 13:10:23

	Use the virtual address of the frame buffer.

Affected files ...

.. //depot/projects/tty/sys/i386/i386/vga_machdep.c#2 edit

Differences ...

==== //depot/projects/tty/sys/i386/i386/vga_machdep.c#2 (text+ko) ====

@@ -30,6 +30,7 @@
 #include <sys/bus.h>
 
 #include <machine/bus.h>
+#include <machine/md_var.h>
 
 #include <dev/vga/vga.h>
 
@@ -39,7 +40,7 @@
 	u_char misc;
 
 	cd->fb.bst = I386_BUS_SPACE_MEM;
-	cd->fb.bsh = 0xA0000;
+	cd->fb.bsh = atdevbase;		/* Virtual address of 0xA0000 */
 	cd->reg.bst = I386_BUS_SPACE_IO;
 	cd->reg.bsh = 0x3c0;
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200302122110.h1CLAZF5069046>