diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-08-02 18:43:01 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-08-02 18:43:01 +0000 |
commit | a9ba8355fbf4dd4a16ae1786167b91e2abd3880c (patch) | |
tree | 7a15a85d8ea3a21cc51f140ac702f9c613df0c66 /nuttx/include | |
parent | 30e820d86135f14ae495598cf5c4e236a4de36b7 (diff) | |
download | px4-firmware-a9ba8355fbf4dd4a16ae1786167b91e2abd3880c.tar.gz px4-firmware-a9ba8355fbf4dd4a16ae1786167b91e2abd3880c.tar.bz2 px4-firmware-a9ba8355fbf4dd4a16ae1786167b91e2abd3880c.zip |
Fix syslog mutual exclusion and interrupt level logic
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@4999 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/nuttx/ramlog.h | 4 | ||||
-rw-r--r-- | nuttx/include/nuttx/syslog.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/nuttx/include/nuttx/ramlog.h b/nuttx/include/nuttx/ramlog.h index d5a37ba30..7831ea509 100644 --- a/nuttx/include/nuttx/ramlog.h +++ b/nuttx/include/nuttx/ramlog.h @@ -73,7 +73,9 @@ * interface. If this feature is enabled (along with CONFIG_SYSLOG), * then all debug output (only) will be re-directed to the circular * buffer in RAM. This RAM log can be view from NSH using the 'dmesg' - * command. + * command. NOTE: Unlike the limited, generic character driver SYSLOG + * device, the RAMLOG *can* be used to generate debug output from interrupt + * level handlers. * CONFIG_RAMLOG_NPOLLWAITERS - The number of threads than can be waiting * for this driver on poll(). Default: 4 * diff --git a/nuttx/include/nuttx/syslog.h b/nuttx/include/nuttx/syslog.h index 89d0c7267..3c340d23a 100644 --- a/nuttx/include/nuttx/syslog.h +++ b/nuttx/include/nuttx/syslog.h @@ -59,7 +59,9 @@ * described in the include/nuttx/ramlog.h header file. * * 2. And a generic character device that may be used as the SYSLOG. The - * generic device interfaces are described in this file. + * generic device interfaces are described in this file. A disadvantage + * of using the generic character device for the SYSLOG is that it + * cannot handle debug output generated from interrupt level handlers. * * CONFIG_SYSLOG_CHAR - Enable the generic character device for the SYSLOG. * The full path to the SYSLOG device is provided by CONFIG_SYSLOG_DEVPATH. |