summaryrefslogtreecommitdiffstats
path: root/usr.sbin/syslogd/syslogd.c
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2015-01-18 16:26:39 +0000
committerjsg <jsg@openbsd.org>2015-01-18 16:26:39 +0000
commit3a5a103270b4bc42856519b66fa0218ad036241c (patch)
treebf7aeec05709e0ec6317134596657b8559ecd6ea /usr.sbin/syslogd/syslogd.c
parentSwitch some uses of msr that only deal with interrupts/mode to use (diff)
downloadwireguard-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