]> git.baikalelectronics.ru Git - uboot.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)
commitdb1cfde67333fcc011377c7afea566d11cfdd087
treec515114e3d19c0d4a1964c2c4b4d54744445164a
parentff38de0d438990b914016353f0a802e15a221e14
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