Richard Henderson
87d7bfdba1
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>
2022-01-06 11:40:52 +01:00
..
2022-01-06 11:40:52 +01:00
2022-01-06 11:40:52 +01:00
2022-01-06 11:40:52 +01:00
2022-01-06 11:40:52 +01:00
2022-01-06 11:40:52 +01:00
2022-01-06 11:40:52 +01:00
2022-01-04 15:16:10 -08:00
2022-01-06 11:40:52 +01:00
2022-01-06 11:40:52 +01:00
2022-01-06 11:40:52 +01:00
2022-01-06 11:40:52 +01:00
2022-01-06 11:40:52 +01:00
2022-01-06 11:40:52 +01:00
2022-01-06 11:40:52 +01:00
2022-01-06 11:40:52 +01:00
2022-01-06 11:40:52 +01:00
2022-01-06 11:40:52 +01:00
2022-01-06 11:40:52 +01:00
2022-01-06 11:40:52 +01:00
2022-01-06 11:40:52 +01:00
2022-01-06 11:40:52 +01:00
2022-01-06 11:40:52 +01:00
2021-12-19 20:47:33 -08:00
2021-11-22 09:17:08 +01:00
2021-07-12 21:53:35 +02:00
2021-09-13 20:35:45 +02:00
2021-09-13 20:35:45 +02:00
2021-07-12 21:54:46 +02:00
2020-09-17 20:39:22 +02:00
2021-09-13 20:35:45 +02:00
2021-11-29 14:54:17 +01:00
2021-11-29 14:54:17 +01:00
2021-09-13 20:35:45 +02:00
2021-09-13 20:35:44 +02:00
2021-09-16 21:09:18 +01:00
2021-12-20 10:13:12 -08:00
2021-09-13 20:35:45 +02:00
2021-09-13 20:35:45 +02:00
2021-09-13 20:35:45 +02:00
2021-12-19 20:47:33 -08:00
2022-01-06 11:40:52 +01:00
2019-06-12 13:20:21 +02:00
2021-12-19 20:47:33 -08:00
2021-09-13 20:35:45 +02:00
2021-09-13 20:35:44 +02:00
2021-05-18 07:09:58 +02:00
2022-01-06 11:40:52 +01:00
2021-11-29 14:54:17 +01:00
2022-01-06 11:40:52 +01:00
2019-06-12 13:20:21 +02:00
2021-12-20 10:12:29 -08:00
2021-06-17 16:09:11 +02:00
2020-08-21 06:18:24 -04:00
2021-09-13 20:35:45 +02:00
2021-09-13 20:35:45 +02:00
2022-01-06 11:40:52 +01:00
2021-09-13 20:35:45 +02:00
2021-09-13 20:35:45 +02:00