Date: Sat, 14 Apr 2012 00:27:50 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r234252 - user/ed/newcons/sys/dev/vt/hw/vga Message-ID: <201204140027.q3E0RoZL004673@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204140027.q3E0RoZL004673>