diff options
author | jkim <jkim@FreeBSD.org> | 2009-09-23 20:13:36 +0000 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2009-09-23 20:13:36 +0000 |
commit | 8f4cddf2f3de48493269ec85b7d3a2966a7145dd (patch) | |
tree | 2d47ff3247a8bd63efe30e315c86264c01650e14 /sys/conf/files.amd64 | |
parent | 0ac2765e98f91fb16f68a358828c8a4c9c3726c5 (diff) | |
download | FreeBSD-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/conf/files.amd64')
0 files changed, 0 insertions, 0 deletions