diff options
author | 2015-01-18 16:26:39 +0000 | |
---|---|---|
committer | 2015-01-18 16:26:39 +0000 | |
commit | 3a5a103270b4bc42856519b66fa0218ad036241c (patch) | |
tree | bf7aeec05709e0ec6317134596657b8559ecd6ea /usr.sbin/syslogd/syslogd.c | |
parent | Switch some uses of msr that only deal with interrupts/mode to use (diff) | |
download | wireguard-openbsd-3a5a103270b4bc42856519b66fa0218ad036241c.tar.xz wireguard-openbsd-3a5a103270b4bc42856519b66fa0218ad036241c.zip |
When restoring spsr values when handling traps use spsr_fsxc instead
of spsr_all so all the bits are restored. Using the msr instruction
with spsr_all is treated the same as spsr_fc and does not include the
status and extension fields (bits 23:8).
This fixes the problem of some i.MX6 machines powering up with the
big endian bit set in the extension field causing them to crash
on returning from the first interrupt.
From NetBSD.
Diffstat (limited to 'usr.sbin/syslogd/syslogd.c')
0 files changed, 0 insertions, 0 deletions