Set control flags in putc(). This should fix zfsboot hangs in drvread().

PR:		kern/153552
Reviewed by:	jhb
MFC after:	1 week
This commit is contained in:
Andrey V. Elsukov 2011-03-16 20:04:56 +00:00
parent 848a02fc41
commit fa3c0ecda2

View File

@ -37,6 +37,7 @@ void
putc(int c)
{
v86.ctl = V86_FLAGS;
v86.addr = 0x10;
v86.eax = 0xe00 | (c & 0xff);
v86.ebx = 0x7;