svn commit: r219896 - stable/8/sys/boot/i386/common

Andrey V. Elsukov ae at FreeBSD.org
Wed Mar 23 06:19:17 UTC 2011


Author: ae
Date: Wed Mar 23 06:19:17 2011
New Revision: 219896
URL: http://svn.freebsd.org/changeset/base/219896

Log:
  MFC r219702:
    Set control flags in putc(). This should fix zfsboot hangs in drvread().
  
    PR:		kern/153552
    Reviewed by:	jhb

Modified:
  stable/8/sys/boot/i386/common/cons.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)

Modified: stable/8/sys/boot/i386/common/cons.c
==============================================================================
--- stable/8/sys/boot/i386/common/cons.c	Wed Mar 23 05:13:54 2011	(r219895)
+++ stable/8/sys/boot/i386/common/cons.c	Wed Mar 23 06:19:17 2011	(r219896)
@@ -37,6 +37,7 @@ void
 putc(int c)
 {
 
+	v86.ctl = V86_FLAGS;
 	v86.addr = 0x10;
 	v86.eax = 0xe00 | (c & 0xff);
 	v86.ebx = 0x7;


More information about the svn-src-stable-8 mailing list