]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: Move trap handler codes to mtrap.S
authorBin Meng <bmeng.cn@gmail.com>
Wed, 12 Dec 2018 14:12:41 +0000 (06:12 -0800)
committerAndes <uboot@andestech.com>
Tue, 18 Dec 2018 01:56:27 +0000 (09:56 +0800)
commit4b3f5ed5ac1a4376c29c3010d25049c03de4ed57
treec515114e3d19c0d4a1964c2c4b4d54744445164a
parent485e822346caa982a5c17b7b136b17e8d09dafee
riscv: Move trap handler codes to mtrap.S

Currently the M-mode trap handler codes are in start.S. For future
extension, move them to a separate file mtrap.S.

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>
arch/riscv/cpu/Makefile
arch/riscv/cpu/mtrap.S [new file with mode: 0644]
arch/riscv/cpu/start.S