diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-08-31 02:21:12 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2010-08-31 02:21:12 +0000 |
commit | a66cf9d6e86bc95a25e21e746000e602e6f1ecbc (patch) | |
tree | 21c35973ac5cd59ec676a68423140c3a42ce4231 /nuttx/examples | |
parent | e3dbd274922d727842086ad42df644308dfc668d (diff) | |
download | px4-nuttx-a66cf9d6e86bc95a25e21e746000e602e6f1ecbc.tar.gz px4-nuttx-a66cf9d6e86bc95a25e21e746000e602e6f1ecbc.tar.bz2 px4-nuttx-a66cf9d6e86bc95a25e21e746000e602e6f1ecbc.zip |
Add paging debug instrumentation
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2899 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples')
-rw-r--r-- | nuttx/examples/nsh/nsh_main.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/nuttx/examples/nsh/nsh_main.c b/nuttx/examples/nsh/nsh_main.c index f41d2e450..046ab562f 100644 --- a/nuttx/examples/nsh/nsh_main.c +++ b/nuttx/examples/nsh/nsh_main.c @@ -1,7 +1,7 @@ /**************************************************************************** * examples/nsh/nsh_main.c * - * Copyright (C) 2007-2009 Gregory Nutt. All rights reserved. + * Copyright (C) 2007-2010 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <spudmonkey@racsa.co.cr> * * Redistribution and use in source and binary forms, with or without @@ -958,10 +958,17 @@ static inline int nsh_nice(FAR struct nsh_vtbl_s *vtbl, FAR char **ppcmd, FAR ch * Name: user_initialize ****************************************************************************/ +/* In order to support user_initialize if CONFIG_PAGING is defined, this + * function (and only this function) would need to get moved to the locked + * text region. + */ + +#ifndef CONFIG_PAGING void user_initialize(void) { /* stub */ } +#endif /**************************************************************************** * Name: user_start |