diff options
author | dim <dim@FreeBSD.org> | 2013-04-24 17:20:45 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2013-04-24 17:20:45 +0000 |
commit | b2f606714ac43344a7c1384f3092ed4b99dcb615 (patch) | |
tree | 760b89def4b0c4e6c6b22009e506fa7124ca1f88 /contrib/libc++/src/system_error.cpp | |
parent | 0d3ea3b043fce01671335e28abde3e1acdbd77fe (diff) | |
download | FreeBSD-src-b2f606714ac43344a7c1384f3092ed4b99dcb615.zip FreeBSD-src-b2f606714ac43344a7c1384f3092ed4b99dcb615.tar.gz |
When rebooting (exiting) from the BTX loader, make sure to restore the
GDT from the correct segment, otherwise a triple fault would be caused.
In some virtual environments (VMware, VirtualBox, etc) this could lead
to a unhandled error or hang in the guest emulation software.
Thanks to avg and jhb for a few hints in the right direction.
Noticed by: Jeremy Chadwick <jdc@koitsu.org> (and many others)
MFC after: 1 week
Diffstat (limited to 'contrib/libc++/src/system_error.cpp')
0 files changed, 0 insertions, 0 deletions