cosmetic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@978 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
e08604ee09
commit
c789bd8f58
@ -1,7 +1,7 @@
|
|||||||
/********************************************************************
|
/************************************************************************************
|
||||||
* c5471/c5471_vectors.S
|
* arch/arm/src/c5471/c5471_vectors.S
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
*
|
*
|
||||||
* Redistribution and use in source and binary forms, with or without
|
* Redistribution and use in source and binary forms, with or without
|
||||||
@ -14,7 +14,7 @@
|
|||||||
* notice, this list of conditions and the following disclaimer in
|
* notice, this list of conditions and the following disclaimer in
|
||||||
* the documentation and/or other materials provided with the
|
* the documentation and/or other materials provided with the
|
||||||
* distribution.
|
* distribution.
|
||||||
* 3. Neither the name Gregory Nutt nor the names of its contributors may be
|
* 3. Neither the name NuttX nor the names of its contributors may be
|
||||||
* used to endorse or promote products derived from this software
|
* used to endorse or promote products derived from this software
|
||||||
* without specific prior written permission.
|
* without specific prior written permission.
|
||||||
*
|
*
|
||||||
@ -31,23 +31,23 @@
|
|||||||
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
* POSSIBILITY OF SUCH DAMAGE.
|
* POSSIBILITY OF SUCH DAMAGE.
|
||||||
*
|
*
|
||||||
********************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/********************************************************************
|
/************************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
********************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
#include <nuttx/irq.h>
|
#include <nuttx/irq.h>
|
||||||
#include "up_arch.h"
|
#include "up_arch.h"
|
||||||
|
|
||||||
/********************************************************************
|
/************************************************************************************
|
||||||
* Definitions
|
* Definitions
|
||||||
********************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/********************************************************************
|
/************************************************************************************
|
||||||
* Global Data
|
* Global Data
|
||||||
********************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
.data
|
.data
|
||||||
g_irqtmp:
|
g_irqtmp:
|
||||||
@ -60,29 +60,29 @@ g_aborttmp:
|
|||||||
.word 0 /* Saved lr */
|
.word 0 /* Saved lr */
|
||||||
.word 0 /* Saved spsr */
|
.word 0 /* Saved spsr */
|
||||||
|
|
||||||
/********************************************************************
|
/************************************************************************************
|
||||||
* Assembly Macros
|
* Assembly Macros
|
||||||
********************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
/********************************************************************
|
/************************************************************************************
|
||||||
* Private Functions
|
* Private Functions
|
||||||
********************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
/********************************************************************
|
/************************************************************************************
|
||||||
* Public Functions
|
* Public Functions
|
||||||
********************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
.text
|
.text
|
||||||
|
|
||||||
/********************************************************************
|
/************************************************************************************
|
||||||
* Name: up_vectorirq
|
* Name: up_vectorirq
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Interrupt excetpion. Entered in IRQ mode with spsr = SVC
|
* Interrupt excetpion. Entered in IRQ mode with spsr = SVC
|
||||||
* CPSR, lr = SVC PC
|
* CPSR, lr = SVC PC
|
||||||
********************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
.globl up_vectorirq
|
.globl up_vectorirq
|
||||||
.type up_vectorirq, %function
|
.type up_vectorirq, %function
|
||||||
@ -169,12 +169,12 @@ up_vectorirq:
|
|||||||
|
|
||||||
.align 5
|
.align 5
|
||||||
|
|
||||||
/********************************************************************
|
/************************************************************************************
|
||||||
* Function: up_vectorswi
|
* Function: up_vectorswi
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* SWI interrupt. We enter the SWI in SVC mode
|
* SWI interrupt. We enter the SWI in SVC mode
|
||||||
********************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
.globl up_vectorswi
|
.globl up_vectorswi
|
||||||
.type up_vectorswi, %function
|
.type up_vectorswi, %function
|
||||||
@ -222,7 +222,7 @@ up_vectorswi:
|
|||||||
|
|
||||||
.align 5
|
.align 5
|
||||||
|
|
||||||
/********************************************************************
|
/************************************************************************************
|
||||||
* Name: up_vectordata
|
* Name: up_vectordata
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
@ -230,7 +230,7 @@ up_vectorswi:
|
|||||||
* abort handler. This function is entered in ABORT mode
|
* abort handler. This function is entered in ABORT mode
|
||||||
* with spsr = SVC CPSR, lr = SVC PC
|
* with spsr = SVC CPSR, lr = SVC PC
|
||||||
*
|
*
|
||||||
********************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
.globl up_vectordata
|
.globl up_vectordata
|
||||||
.type up_vectordata, %function
|
.type up_vectordata, %function
|
||||||
@ -290,13 +290,13 @@ up_vectordata:
|
|||||||
|
|
||||||
.align 5
|
.align 5
|
||||||
|
|
||||||
/********************************************************************
|
/************************************************************************************
|
||||||
* Name: up_vectorprefetch
|
* Name: up_vectorprefetch
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Prefetch abort exception. Entered in ABT mode with
|
* Prefetch abort exception. Entered in ABT mode with
|
||||||
* spsr = SVC CPSR, lr = SVC PC
|
* spsr = SVC CPSR, lr = SVC PC
|
||||||
********************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
.globl up_vectorprefetch
|
.globl up_vectorprefetch
|
||||||
.type up_vectorprefetch, %function
|
.type up_vectorprefetch, %function
|
||||||
@ -356,14 +356,14 @@ up_vectorprefetch:
|
|||||||
|
|
||||||
.align 5
|
.align 5
|
||||||
|
|
||||||
/********************************************************************
|
/************************************************************************************
|
||||||
* Name: up_vectorundefinsn
|
* Name: up_vectorundefinsn
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Undefined instruction entry exception. Entered in
|
* Undefined instruction entry exception. Entered in
|
||||||
* UND mode, spsr = SVC CPSR, lr = SVC PC
|
* UND mode, spsr = SVC CPSR, lr = SVC PC
|
||||||
*
|
*
|
||||||
********************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
.globl up_vectorundefinsn
|
.globl up_vectorundefinsn
|
||||||
.type up_vectorundefinsn, %function
|
.type up_vectorundefinsn, %function
|
||||||
@ -422,25 +422,25 @@ up_vectorundefinsn:
|
|||||||
|
|
||||||
.align 5
|
.align 5
|
||||||
|
|
||||||
/********************************************************************
|
/************************************************************************************
|
||||||
* Name: up_vectorfiq
|
* Name: up_vectorfiq
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Shouldn't happen
|
* Shouldn't happen
|
||||||
********************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
.globl up_vectorfiq
|
.globl up_vectorfiq
|
||||||
.type up_vectorfiq, %function
|
.type up_vectorfiq, %function
|
||||||
up_vectorfiq:
|
up_vectorfiq:
|
||||||
subs pc, lr, #4
|
subs pc, lr, #4
|
||||||
|
|
||||||
/********************************************************************
|
/************************************************************************************
|
||||||
* Name: up_vectoraddrexcption
|
* Name: up_vectoraddrexcption
|
||||||
*
|
*
|
||||||
* Description:
|
* Description:
|
||||||
* Shouldn't happen
|
* Shouldn't happen
|
||||||
*
|
*
|
||||||
********************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
.globl up_vectoraddrexcptn
|
.globl up_vectoraddrexcptn
|
||||||
.type up_vectoraddrexcptn, %function
|
.type up_vectoraddrexcptn, %function
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* arm/src/common/up_vectors.S
|
* arch/arm/src/common/up_vectors.S
|
||||||
*
|
*
|
||||||
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
|
* Copyright (C) 2007, 2008 Gregory Nutt. All rights reserved.
|
||||||
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
|
||||||
|
Loading…
Reference in New Issue
Block a user