提交 cd89436e 编写于 作者: P Peter Griffin 提交者: Paul Mundt

sh: Add UBC trap vector for SH2A

Signed-off-by: NPeter Griffin <pgriffin@mpc-data.co.uk>
Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 ba0d4740
......@@ -34,6 +34,7 @@
# define TRAP_ILLEGAL_SLOT_INST 6
# define TRAP_ADDRESS_ERROR 9
# ifdef CONFIG_CPU_SH2A
# define TRAP_UBC 12
# define TRAP_FPU_ERROR 13
# define TRAP_DIVZERO_ERROR 17
# define TRAP_DIVOVF_ERROR 18
......@@ -849,6 +850,10 @@ void __init trap_init(void)
#endif
#endif
#ifdef TRAP_UBC
set_exception_table_vec(TRAP_UBC, break_point_trap);
#endif
/* Setup VBR for boot cpu */
per_cpu_trap_init();
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册