summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorae <ae@FreeBSD.org>2011-03-16 20:04:56 +0000
committerae <ae@FreeBSD.org>2011-03-16 20:04:56 +0000
commit470b15e02147071388d7a80f45b3a121fc3094bf (patch)
treeaf62d23f48e5d41ea8340984cac0649b5c31c5f9
parente0fb92ca96bb27603f0e3070f6311aa50fe03139 (diff)
downloadFreeBSD-src-470b15e02147071388d7a80f45b3a121fc3094bf.zip
FreeBSD-src-470b15e02147071388d7a80f45b3a121fc3094bf.tar.gz
Set control flags in putc(). This should fix zfsboot hangs in drvread().
PR: kern/153552 Reviewed by: jhb MFC after: 1 week
-rw-r--r--sys/boot/i386/common/cons.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/boot/i386/common/cons.c b/sys/boot/i386/common/cons.c
index 56febf2..9384f43 100644
--- a/sys/boot/i386/common/cons.c
+++ b/sys/boot/i386/common/cons.c
@@ -37,6 +37,7 @@ void
putc(int c)
{
+ v86.ctl = V86_FLAGS;
v86.addr = 0x10;
v86.eax = 0xe00 | (c & 0xff);
v86.ebx = 0x7;
OpenPOWER on IntegriCloud