summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2015-11-11 01:32:35 +0000
committerjhb <jhb@FreeBSD.org>2015-11-11 01:32:35 +0000
commit9c319c0ee46b77f68febe6ec66b2e787d91e1627 (patch)
treee3ff827d472df36acb14e1d6e06240194ee25406 /include
parent5033903e2b91c8722c776318d671e7bee03179ba (diff)
downloadFreeBSD-src-9c319c0ee46b77f68febe6ec66b2e787d91e1627.zip
FreeBSD-src-9c319c0ee46b77f68febe6ec66b2e787d91e1627.tar.gz
MFC 284324,290164:
Workaround debuggers that try to read the full 32-bit words holding selectors in trapframes. 284324: Ensure that the upper 16 bits of segment registers manually saved in trapframes are cleared by explicitly pushing a zero and then moving the segment register into the low 16 bits. Certain Intel processors treat a push of a segment register as a move of the segment register into the low 16 bits leaving the upper 16 bits of the word in the stack unchanged. 290164: Use movw instead of movl (or plain mov) when moving segment registers into memory. This is a nop on clang's assembler, but some assemblers complain if the size suffix is incorrect.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud