arch: arc: fix jump instruction and remove unused codes

Signed-off-by: Jingru <jingru@synopsys.com>
This commit is contained in:
Jingru
2020-03-30 17:21:38 +08:00
parent a0eca8f6eb
commit e64869280b
6 changed files with 7 additions and 154 deletions

View File

@@ -127,7 +127,11 @@ start_r:
pop r2
pop r0
#if defined(__MW__)
j_s.d [r1]
#else
j [r1]
#endif
kflag r2
/****** exceptions and interrupts handing ******/

View File

@@ -94,7 +94,7 @@ __KNL__ void cpu_reset(void)
port_cpu_reset();
}
__KNL__ void cpu_sched_start(void) // 启动任务调度器
__KNL__ void cpu_sched_start(void)
{
port_sched_start();
}