SAM3U KERNEL definitions are backward
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3980 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
7a4cbde8dc
commit
778fe8194e
@ -448,7 +448,7 @@ EXTERN void sam3u_lowsetup(void);
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CONFIG_NUTTX_KERNEL
|
||||
#ifdef CONFIG_NUTTX_KERNEL
|
||||
EXTERN void sam3u_userspace(void);
|
||||
#endif
|
||||
|
||||
@ -461,7 +461,7 @@ EXTERN void sam3u_userspace(void);
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CONFIG_NUTTX_KERNEL
|
||||
#ifdef CONFIG_NUTTX_KERNEL
|
||||
EXTERN void sam3u_mpuinitialize(void);
|
||||
#else
|
||||
# define sam3u_mpuinitialize()
|
||||
@ -475,7 +475,7 @@ EXTERN void sam3u_mpuinitialize(void);
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
#ifndef CONFIG_NUTTX_KERNEL
|
||||
#ifdef CONFIG_NUTTX_KERNEL
|
||||
EXTERN void sam3u_mpuheap(uintptr_t start, size_t size);
|
||||
#else
|
||||
# define sam3u_mpuheap(start,size)
|
||||
|
@ -41,7 +41,7 @@
|
||||
#include <arch/board/user_map.h>
|
||||
#include "mpu.h"
|
||||
|
||||
#ifndef CONFIG_NUTTX_KERNEL
|
||||
#ifdef CONFIG_NUTTX_KERNEL
|
||||
|
||||
/****************************************************************************
|
||||
* Private Definitions
|
||||
|
@ -140,7 +140,7 @@ void __start(void)
|
||||
* segements.
|
||||
*/
|
||||
|
||||
#ifndef CONFIG_NUTTX_KERNEL
|
||||
#ifdef CONFIG_NUTTX_KERNEL
|
||||
sam3u_userspace();
|
||||
#endif
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
||||
#include <nuttx/config.h>
|
||||
#include <arch/board/user_map.h>
|
||||
|
||||
#ifndef CONFIG_NUTTX_KERNEL
|
||||
#ifdef CONFIG_NUTTX_KERNEL
|
||||
|
||||
/****************************************************************************
|
||||
* Private Definitions
|
||||
|
Loading…
Reference in New Issue
Block a user