diff options
author | jhb <jhb@FreeBSD.org> | 2008-08-08 19:41:20 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-08-08 19:41:20 +0000 |
commit | be7768ee547fe4a77c33f19daacc0809cb8a4cf3 (patch) | |
tree | ce6fb74fb05aadcb31e17f160c652179fa26a463 /lib/libc/stdlib/malloc.c | |
parent | 5e78f5a5d442f5ce7d5362a4770610b13320bf7c (diff) | |
download | FreeBSD-src-be7768ee547fe4a77c33f19daacc0809cb8a4cf3.zip FreeBSD-src-be7768ee547fe4a77c33f19daacc0809cb8a4cf3.tar.gz |
- 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
Diffstat (limited to 'lib/libc/stdlib/malloc.c')
0 files changed, 0 insertions, 0 deletions