From cb247e913f1b21967b89a0e9724c5f1325e598c4 Mon Sep 17 00:00:00 2001 From: aozima Date: Fri, 1 Sep 2017 10:22:55 +0800 Subject: [PATCH] update libcpu: cortex-m0 fault handlers always enable. --- libcpu/arm/cortex-m0/context_gcc.S | 1 - libcpu/arm/cortex-m0/context_iar.S | 1 - libcpu/arm/cortex-m0/context_rvds.S | 1 - 3 files changed, 3 deletions(-) diff --git a/libcpu/arm/cortex-m0/context_gcc.S b/libcpu/arm/cortex-m0/context_gcc.S index c95582630..227a9aac2 100644 --- a/libcpu/arm/cortex-m0/context_gcc.S +++ b/libcpu/arm/cortex-m0/context_gcc.S @@ -182,7 +182,6 @@ rt_hw_context_switch_to: MSR MSP, R0 /* enable interrupts at processor level */ - CPSIE F CPSIE I /* never reach here! */ diff --git a/libcpu/arm/cortex-m0/context_iar.S b/libcpu/arm/cortex-m0/context_iar.S index e7d680867..67ea808d8 100644 --- a/libcpu/arm/cortex-m0/context_iar.S +++ b/libcpu/arm/cortex-m0/context_iar.S @@ -188,7 +188,6 @@ rt_hw_context_switch_to: MSR msp, r0 ; enable interrupts at processor level - CPSIE F CPSIE I ; never reach here! diff --git a/libcpu/arm/cortex-m0/context_rvds.S b/libcpu/arm/cortex-m0/context_rvds.S index 5411162e5..bf68592e6 100644 --- a/libcpu/arm/cortex-m0/context_rvds.S +++ b/libcpu/arm/cortex-m0/context_rvds.S @@ -191,7 +191,6 @@ rt_hw_context_switch_to PROC MSR msp, r0 ; enable interrupts at processor level - CPSIE F CPSIE I ; never reach here!