diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-02-15 00:27:12 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2022-02-15 00:27:12 +0000 |
commit | 989836bd37f26a56bf846b45862c3b2ffcc355bf (patch) | |
tree | 239005955c64e72bc95760dea05bf449ab06716b /sys/dev/acpi/efi.h | |
parent | 4c4f4ecd9c03f30be5953b601e0c40bcd739ab6b (diff) |
fix mask in hppa inst_trap_return()
inst_trap_return() was checking for rfir by masking with 0xfc001fc0
which made it impossible to match rfir (0xca0)
rfi: return from interruption
00 rv rv rv 60 0
6 5 5 3 8 5
rfir: return from interruption and restore
00 rv rv rv 65 0
6 5 5 3 8 5
from "PA-RISC 1.1 Architecture and Instruction Set Reference Manual"
where rv indicates reserved bits
change the mask to only mask out reserved bits and check for rfi
in addition to rfir
ok miod@
Diffstat (limited to 'sys/dev/acpi/efi.h')
0 files changed, 0 insertions, 0 deletions