diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-11-01 11:16:51 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-11-01 11:16:51 -0600 |
commit | 1087c67c2acf53fbe1f549e89be6b70705b87792 (patch) | |
tree | 61f1d974a05187e9608eda2e79565654c03d308c /nuttx/include | |
parent | 9741311259ee5434987dc8c9918f29e355d22c4f (diff) | |
download | px4-nuttx-1087c67c2acf53fbe1f549e89be6b70705b87792.tar.gz px4-nuttx-1087c67c2acf53fbe1f549e89be6b70705b87792.tar.bz2 px4-nuttx-1087c67c2acf53fbe1f549e89be6b70705b87792.zip |
Extend stack debug logic to include IDLE and interrupt stacks. Also color the heap as well. Based on suggestions from David Sidrane
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/nuttx/init.h | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/nuttx/include/nuttx/init.h b/nuttx/include/nuttx/init.h index 2d1b3c693..72520a4c1 100644 --- a/nuttx/include/nuttx/init.h +++ b/nuttx/include/nuttx/init.h @@ -51,28 +51,26 @@ * Global Data ****************************************************************************/ -/**************************************************************************** - * Global Function Prototypes - ****************************************************************************/ - -/**************************************************************************** - * Global Function Prototypes - ****************************************************************************/ - #ifdef __cplusplus #define EXTERN extern "C" -extern "C" { +extern "C" +{ #else #define EXTERN extern #endif +/**************************************************************************** + * Global Function Prototypes + ****************************************************************************/ + /* This entry point must be supplied by the application */ -EXTERN int CONFIG_USER_ENTRYPOINT(int argc, char *argv[]); +int CONFIG_USER_ENTRYPOINT(int argc, char *argv[]); /* Functions contained in os_task.c *****************************************/ +/* OS entry point called by boot logic */ -EXTERN void os_start(void); /* OS entry point called by boot logic */ +void os_start(void) noreturn_function; #undef EXTERN #ifdef __cplusplus |