cpu/arm7_common: remove dINT/eINT definitions
This commit is contained in:
parent
b6a88cba5f
commit
6473fa77d4
@ -40,25 +40,6 @@
|
|||||||
.global cpu_switch_context_exit
|
.global cpu_switch_context_exit
|
||||||
.global task_return
|
.global task_return
|
||||||
.global ctx_switch
|
.global ctx_switch
|
||||||
.global dINT
|
|
||||||
.global eINT
|
|
||||||
|
|
||||||
.func
|
|
||||||
dINT:
|
|
||||||
mrs r0, cpsr
|
|
||||||
|
|
||||||
orr r0, r0, #NOINT /* Disable Int */
|
|
||||||
msr CPSR_c, r0
|
|
||||||
mov pc,lr
|
|
||||||
.endfunc
|
|
||||||
|
|
||||||
.func
|
|
||||||
eINT:
|
|
||||||
mrs r0, cpsr
|
|
||||||
and r0, r0, #~NOINT /* Enable Int */
|
|
||||||
msr CPSR_c, r0
|
|
||||||
mov pc,lr
|
|
||||||
.endfunc
|
|
||||||
|
|
||||||
ctx_switch:
|
ctx_switch:
|
||||||
/* Save return address on stack */
|
/* Save return address on stack */
|
||||||
|
|||||||
@ -20,9 +20,6 @@
|
|||||||
#define NEW_TASK_CPSR 0x1F
|
#define NEW_TASK_CPSR 0x1F
|
||||||
#define WORDSIZE 32
|
#define WORDSIZE 32
|
||||||
|
|
||||||
extern void dINT(void);
|
|
||||||
extern void eINT(void);
|
|
||||||
|
|
||||||
uint32_t get_system_speed(void);
|
uint32_t get_system_speed(void);
|
||||||
void cpu_clock_scale(uint32_t source, uint32_t target, uint32_t *prescale);
|
void cpu_clock_scale(uint32_t source, uint32_t target, uint32_t *prescale);
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user