ARMv7-A/M: Cosmetic changes
This commit is contained in:
parent
cbc2f226c0
commit
6e9aa0a1d7
@ -47,18 +47,6 @@
|
|||||||
|
|
||||||
#ifdef CONFIG_ARCH_FPU
|
#ifdef CONFIG_ARCH_FPU
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Pre-processor Definitions
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Private Data
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
/****************************************************************************
|
|
||||||
* Private Functions
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
* Public Functions
|
* Public Functions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
@ -76,7 +64,7 @@ void up_copyarmstate(uint32_t *dest, uint32_t *src)
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
/* In the Cortex-M model, the state is copied from the stack to the TCB,
|
/* In the Cortex-A model, the state is copied from the stack to the TCB,
|
||||||
* but only a reference is passed to get the state from the TCB. So the
|
* but only a reference is passed to get the state from the TCB. So the
|
||||||
* following check avoids copying the TCB save area onto itself:
|
* following check avoids copying the TCB save area onto itself:
|
||||||
*/
|
*/
|
||||||
|
@ -72,7 +72,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Cortex M3 system calls ***********************************************************/
|
/* Cortex-A system calls ************************************************************/
|
||||||
|
|
||||||
/* SYS call 0:
|
/* SYS call 0:
|
||||||
*
|
*
|
||||||
|
@ -33,8 +33,8 @@
|
|||||||
*
|
*
|
||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
#ifndef __ARCH_ARM_SRC_COMMON_CORTEXM_MPU_H
|
#ifndef __ARCH_ARM_SRC_ARMV7M_MPU_H
|
||||||
#define __ARCH_ARM_SRC_COMMON_CORTEXM_MPU_H
|
#define __ARCH_ARM_SRC_ARMV7M_MPU_H
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
* Included Files
|
* Included Files
|
||||||
@ -570,5 +570,5 @@ static inline void mpu_peripheral(uintptr_t base, size_t size)
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __ASSEMBLY__ */
|
#endif /* __ASSEMBLY__ */
|
||||||
#endif /* __ARCH_ARM_SRC_COMMON_CORTEXM_MPU_H */
|
#endif /* __ARCH_ARM_SRC_ARMV7M_MPU_H */
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Cortex M3 system calls ***********************************************************/
|
/* Cortex-M system calls ************************************************************/
|
||||||
|
|
||||||
/* SYS call 0:
|
/* SYS call 0:
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user