
14 Nov
2018
14 Nov
'18
11:44 p.m.
On Tue, 2018-11-13 at 00:22 -0800, Bin Meng wrote:
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
arch/riscv/cpu/Makefile | 2 +- arch/riscv/cpu/mtrap.S | 106 ++++++++++++++++++++++++++++++++++++++++++++++++ arch/riscv/cpu/start.S | 82 ------------------------------------- 3 files changed, 107 insertions(+), 83 deletions(-) create mode 100644 arch/riscv/cpu/mtrap.S
Reviewed-by: Lukas Auer lukas.auer@aisec.fraunhofer.de