From 6473fa77d4edcf4295a8ee71c31b3307a28ace4e Mon Sep 17 00:00:00 2001 From: Joakim Gebart Date: Sat, 4 Jul 2015 10:11:36 +0200 Subject: [PATCH] cpu/arm7_common: remove dINT/eINT definitions --- cpu/arm7_common/common.s | 19 ------------------- cpu/arm7_common/include/arm_cpu.h | 3 --- 2 files changed, 22 deletions(-) diff --git a/cpu/arm7_common/common.s b/cpu/arm7_common/common.s index ec828fbe81..a9c98d2daf 100644 --- a/cpu/arm7_common/common.s +++ b/cpu/arm7_common/common.s @@ -40,25 +40,6 @@ .global cpu_switch_context_exit .global task_return .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: /* Save return address on stack */ diff --git a/cpu/arm7_common/include/arm_cpu.h b/cpu/arm7_common/include/arm_cpu.h index d883753fae..b196e69875 100644 --- a/cpu/arm7_common/include/arm_cpu.h +++ b/cpu/arm7_common/include/arm_cpu.h @@ -20,9 +20,6 @@ #define NEW_TASK_CPSR 0x1F #define WORDSIZE 32 -extern void dINT(void); -extern void eINT(void); - uint32_t get_system_speed(void); void cpu_clock_scale(uint32_t source, uint32_t target, uint32_t *prescale);