From: richardbarry Date: Wed, 5 Jan 2011 13:36:35 +0000 (+0000) Subject: A little extra commenting added to the Cortex M3 port layers. X-Git-Tag: V6.1.1~33 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fcdf86eb7da0881dfffbb2bbaf1a513d770d4535;p=freertos A little extra commenting added to the Cortex M3 port layers. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@1224 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Source/portable/CCS4/MSP430X/data_model.h b/Source/portable/CCS4/MSP430X/data_model.h index 4cc526ef7..2f3ec5e5f 100644 --- a/Source/portable/CCS4/MSP430X/data_model.h +++ b/Source/portable/CCS4/MSP430X/data_model.h @@ -55,14 +55,12 @@ .define "push.a", push_x .define "pop.a", pop_x .define "mov.a", mov_x - .define "cmp.a", cmp_x .else .define "pushm.w", pushm_x .define "popm.w", popm_x .define "push.w", push_x .define "pop.w", pop_x .define "mov.w", mov_x - .define "cmp.w", cmp_x .endif .if $DEFINED( __LARGE_CODE_MODEL__ ) diff --git a/Source/portable/GCC/ARM_CM3/port.c b/Source/portable/GCC/ARM_CM3/port.c index 85d28c6ec..f601825c9 100644 --- a/Source/portable/GCC/ARM_CM3/port.c +++ b/Source/portable/GCC/ARM_CM3/port.c @@ -155,7 +155,7 @@ void vPortStartFirstTask( void ) " ldr r0, [r0] \n" " ldr r0, [r0] \n" " msr msp, r0 \n" /* Set the msp back to the start of the stack. */ - " cpsie i \n" + " cpsie i \n" /* Globally enable interrupts. */ " svc 0 \n" /* System call to start first task. */ " nop \n" ); diff --git a/Source/portable/RVDS/ARM_CM3/port.c b/Source/portable/RVDS/ARM_CM3/port.c index c864f821a..e0cd391c6 100644 --- a/Source/portable/RVDS/ARM_CM3/port.c +++ b/Source/portable/RVDS/ARM_CM3/port.c @@ -148,8 +148,9 @@ __asm void vPortStartFirstTask( void ) ldr r0, [r0] /* Set the msp back to the start of the stack. */ msr msp, r0 - /* Call SVC to start the first task. */ + /* Globally enable interrupts. */ cpsie i + /* Call SVC to start the first task. */ svc 0 nop }