Date: Mon, 11 Sep 2017 07:22:53 +0000 (UTC) From: Ryan Libby <rlibby@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org Subject: svn commit: r323426 - stable/11/usr.sbin/bhyve Message-ID: <201709110722.v8B7MrW0092164@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rlibby Date: Mon Sep 11 07:22:53 2017 New Revision: 323426 URL: https://svnweb.freebsd.org/changeset/base/323426 Log: MFC r321669: bhyve/vga.c: fix atc_color_select_67 bit shift Modified: stable/11/usr.sbin/bhyve/vga.c Directory Properties: stable/11/ (props changed) Modified: stable/11/usr.sbin/bhyve/vga.c ============================================================================== --- stable/11/usr.sbin/bhyve/vga.c Mon Sep 11 07:21:34 2017 (r323425) +++ stable/11/usr.sbin/bhyve/vga.c Mon Sep 11 07:22:53 2017 (r323426) @@ -1069,7 +1069,7 @@ vga_port_out_handler(struct vmctx *ctx, int in, int po sc->vga_atc.atc_color_select_45 = (val & ATC_CS_C45) << 4; sc->vga_atc.atc_color_select_67 = - (val & ATC_CS_C67) << 6; + ((val & ATC_CS_C67) >> 2) << 6; break; default: //printf("XXX VGA ATC: outb 0x%04x, 0x%02x at index %d\n", port, val, sc->vga_atc.atc_index);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709110722.v8B7MrW0092164>