summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authorjkim <jkim@FreeBSD.org>2009-09-23 20:13:36 +0000
committerjkim <jkim@FreeBSD.org>2009-09-23 20:13:36 +0000
commit8f4cddf2f3de48493269ec85b7d3a2966a7145dd (patch)
tree2d47ff3247a8bd63efe30e315c86264c01650e14 /sys/compat
parent0ac2765e98f91fb16f68a358828c8a4c9c3726c5 (diff)
downloadFreeBSD-src-8f4cddf2f3de48493269ec85b7d3a2966a7145dd.zip
FreeBSD-src-8f4cddf2f3de48493269ec85b7d3a2966a7145dd.tar.gz
- Use spin lock instead of default mutex for safety. INT/IRET instructions
save/clear/restore flags but emulated flags have no effect on the host. I believe BIOS writers never meant to run their code in emulated environment with interrupt enabled. :-) - Use memcpy(3) instead of copying individual members. I believe struct x86regs was intentionally copied from the first half of struct x86emu_regs for this very purpose. - Fix some style nits and consistencies. Reviewed by: delphij, paradox (ddkprog yahoo com)
Diffstat (limited to 'sys/compat')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud