diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2021-12-20 18:50:06 -0800 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2022-01-06 11:40:52 +0100 |
commit | 87d7bfdba1d4a963e9a89052c38a32327fa25473 (patch) | |
tree | 66821d335d044d60874d21e5bb09dd4054b275d2 /crypto | |
parent | e13685a6e5c92612c6eeeb8a17c052539c0f9da5 (diff) |
linux-user/nios2: Properly emulate EXCP_TRAP
The real kernel has to load the instruction and extract
the imm5 field; for qemu, modify the translator to do this.
The use of R_AT for this in cpu_loop was a bug. Handle
the other trap numbers as per the kernel's trap_table.
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20211221025012.1057923-2-richard.henderson@linaro.org>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions