Date: Fri, 8 Aug 2008 19:41:20 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/boot/i386/boot2 boot2.c src/sys/boot/i386/gptboot gptboot.c src/sys/boot/i386/loader main.c src/sys/boot/pc98/loader main.c Message-ID: <200808081942.m78Jg0ei025441@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2008-08-08 19:41:20 UTC
FreeBSD src repository
Modified files:
sys/boot/i386/boot2 boot2.c
sys/boot/i386/gptboot gptboot.c
sys/boot/i386/loader main.c
sys/boot/pc98/loader main.c
Log:
SVN rev 181436 on 2008-08-08 19:41:20Z by jhb
- Initialize the vm86 structure to a known-good state. Specifically, always
set the %eflags used during a BIOS call via BTX to 0x202. Previously
the flags field was uninitialized garbage, and thus it was "random" if
interrupts were enabled or not during BIOS calls.
- Use constants from <machine/psl.h> for fields in %eflags.
MFC after: 3 days
Revision Changes Path
1.88 +4 -2 src/sys/boot/i386/boot2/boot2.c
1.88 +4 -2 src/sys/boot/i386/gptboot/gptboot.c
1.42 +5 -0 src/sys/boot/i386/loader/main.c
1.26 +5 -0 src/sys/boot/pc98/loader/main.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200808081942.m78Jg0ei025441>
