diff options
author | Aun-Ali Zaidi <admin@kodeit.net> | 2015-12-12 22:24:16 -0600 |
---|---|---|
committer | Gedare Bloom <gedare@rtems.org> | 2015-12-13 08:39:14 -0500 |
commit | f2a228b2cb5ce376c56ae8d767084b92f2822af0 (patch) | |
tree | bfb4594bd761af7a4c35bc6163bf9d30bea46954 /c/src/lib/libbsp/arm/gp32/startup/bspreset.c | |
parent | Store task_id of the current thread for the ISR before waiting for the transi... (diff) | |
download | rtems-f2a228b2cb5ce376c56ae8d767084b92f2822af0.tar.bz2 |
arm/gp32: Remove
updates #2451.
Diffstat (limited to '')
-rw-r--r-- | c/src/lib/libbsp/arm/gp32/startup/bspreset.c | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/c/src/lib/libbsp/arm/gp32/startup/bspreset.c b/c/src/lib/libbsp/arm/gp32/startup/bspreset.c deleted file mode 100644 index a9c3792e5d..0000000000 --- a/c/src/lib/libbsp/arm/gp32/startup/bspreset.c +++ /dev/null @@ -1,39 +0,0 @@ -/* - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.org/license/LICENSE. - */ - -#include <bsp.h> -#include <bsp/bootcard.h> - -void bsp_reset(void) -{ - rtems_interrupt_level level; - - (void) level; - rtems_interrupt_disable(level); - /* disable mmu, invalide i-cache and call swi #4 */ - __asm__ volatile("" - "mrc p15,0,r0,c1,c0,0 \n" - "bic r0,r0,#1 \n" - "mcr p15,0,r0,c1,c0,0 \n" - "nop \n" - "nop \n" - "nop \n" - "nop \n" - "nop \n" - "mov r0,#0 \n" - "MCR p15,0,r0,c7,c5,0 \n" - "nop \n" - "nop \n" - "nop \n" - "nop \n" - "nop \n" - "swi #4 " - : - : - : "r0" - ); - /* we should be back in bios now */ -} |