u-boot-brain/arch/riscv/cpu
Bin Meng 10753ef8fd riscv: Return to previous privilege level after trap handling
At present the trap handler returns to hardcoded M-mode/S-mode.
Change to returning to previous privilege level instead.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Lukas Auer <lukas.auer@aisec.fraunhofer.de>
Reviewed-by: Anup Patel <anup@brainfault.org>
2018-12-18 09:56:27 +08:00
..
ax25 riscv: ax25: Hide the ax25-specific Kconfig option 2018-12-18 09:56:26 +08:00
qemu riscv: Probe cpus during boot 2018-12-18 09:56:27 +08:00
cpu.c riscv: Do some basic architecture level cpu initialization 2018-12-18 09:56:27 +08:00
Makefile riscv: Move trap handler codes to mtrap.S 2018-12-18 09:56:27 +08:00
mtrap.S riscv: Return to previous privilege level after trap handling 2018-12-18 09:56:27 +08:00
start.S riscv: Move trap handler codes to mtrap.S 2018-12-18 09:56:27 +08:00
u-boot.lds riscv: Make start.S available for all targets 2018-10-03 17:48:14 +08:00