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:
patacongo 2011-09-26 17:24:33 +00:00
parent 7a4cbde8dc
commit 778fe8194e
4 changed files with 6 additions and 6 deletions

View File

@ -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)

View File

@ -41,7 +41,7 @@
#include <arch/board/user_map.h>
#include "mpu.h"
#ifndef CONFIG_NUTTX_KERNEL
#ifdef CONFIG_NUTTX_KERNEL
/****************************************************************************
* Private Definitions

View File

@ -140,7 +140,7 @@ void __start(void)
* segements.
*/
#ifndef CONFIG_NUTTX_KERNEL
#ifdef CONFIG_NUTTX_KERNEL
sam3u_userspace();
#endif

View File

@ -40,7 +40,7 @@
#include <nuttx/config.h>
#include <arch/board/user_map.h>
#ifndef CONFIG_NUTTX_KERNEL
#ifdef CONFIG_NUTTX_KERNEL
/****************************************************************************
* Private Definitions