
22 Oct
2018
22 Oct
'18
11:19 a.m.
On Sat, Oct 20, 2018 at 6:10 AM Lukas Auer lukas.auer@aisec.fraunhofer.de wrote:
The labels nmi_vector, trap_vector and handle_reset in start.S are not used for RISC-V. Remove them.
While we are here, also remove the code from the beginning of start.S, which stores the contents of a2 to memory. Only registers a0 and a1 contain information from the previous boot stage. There is therefore no reason for saving a2.
Signed-off-by: Lukas Auer lukas.auer@aisec.fraunhofer.de
arch/riscv/cpu/start.S | 11 ----------- 1 file changed, 11 deletions(-)
Reviewed-by: Bin Meng bmeng.cn@gmail.com