cpu/arm7_common: remove dINT/eINT definitions

This commit is contained in:
Joakim Gebart 2015-07-04 10:11:36 +02:00 committed by Joakim Nohlgård
parent b6a88cba5f
commit 6473fa77d4
2 changed files with 0 additions and 22 deletions

View File

@ -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 */

View File

@ -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);