svn commit: r234252 - user/ed/newcons/sys/dev/vt/hw/vga
Marcel Moolenaar
marcel at FreeBSD.org
Sat Apr 14 00:27:51 UTC 2012
Author: marcel
Date: Sat Apr 14 00:27:50 2012
New Revision: 234252
URL: http://svn.freebsd.org/changeset/base/234252
Log:
Add support fot ia64. This means that ia64, for the first time ever,
has a working non-serial console!
I'm pretty sure this doesn't work on the SGI Altix 350, but that's
ok for now. Lot's of things don't work there...
Modified:
user/ed/newcons/sys/dev/vt/hw/vga/vga.c
Modified: user/ed/newcons/sys/dev/vt/hw/vga/vga.c
==============================================================================
--- user/ed/newcons/sys/dev/vt/hw/vga/vga.c Fri Apr 13 23:53:53 2012 (r234251)
+++ user/ed/newcons/sys/dev/vt/hw/vga/vga.c Sat Apr 14 00:27:50 2012 (r234252)
@@ -574,6 +574,11 @@ vga_init(struct vt_device *vd)
sc->vga_fb_handle = KERNBASE + VGA_MEM_BASE;
sc->vga_reg_tag = X86_BUS_SPACE_IO;
sc->vga_reg_handle = VGA_REG_BASE;
+#elif defined(__ia64__)
+ sc->vga_fb_tag = IA64_BUS_SPACE_MEM;
+ sc->vga_fb_handle = IA64_PHYS_TO_RR6(VGA_MEM_BASE);
+ sc->vga_reg_tag = IA64_BUS_SPACE_IO;
+ sc->vga_reg_handle = VGA_REG_BASE;
#else
# error "Architecture not yet supported!"
#endif
More information about the svn-src-user
mailing list