diff options
author | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-09-11 20:33:58 +0000 |
---|---|---|
committer | patacongo <patacongo@7fd9a85b-ad96-42d3-883c-3090e2eb8679> | 2012-09-11 20:33:58 +0000 |
commit | 594b34a3564056f8f003ee9a19aa5837bcb1a4d4 (patch) | |
tree | 386d184c161ad982f82fe673bdf69319f84cca6b /nuttx/include | |
parent | 3ca467c02936aa967daeabc89b80e84f409f049a (diff) | |
download | px4-firmware-594b34a3564056f8f003ee9a19aa5837bcb1a4d4.tar.gz px4-firmware-594b34a3564056f8f003ee9a19aa5837bcb1a4d4.tar.bz2 px4-firmware-594b34a3564056f8f003ee9a19aa5837bcb1a4d4.zip |
Update to granule allocator; Update to ENC28j60 driver
git-svn-id: https://nuttx.svn.sourceforge.net/svnroot/nuttx/trunk@5130 7fd9a85b-ad96-42d3-883c-3090e2eb8679
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/nuttx/gran.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nuttx/include/nuttx/gran.h b/nuttx/include/nuttx/gran.h index 2036a29a1..bb08f9b37 100644 --- a/nuttx/include/nuttx/gran.h +++ b/nuttx/include/nuttx/gran.h @@ -43,6 +43,11 @@ #include <nuttx/config.h> +#include <sys/types.h> +#include <stdint.h> + +#ifdef CONFIG_GRAN + /**************************************************************************** * Pre-Processor Definitions ****************************************************************************/ @@ -52,6 +57,8 @@ * granule allocator (i.e., gran_initialize will be called only once. * In this case, (1) there are a few optimizations that can can be done * and (2) the GRAN_HANDLE is not needed. + * CONFIG_DEBUG_GRAN - Just like CONFIG_DEBUG_MM, but only generates ouput + * from the gran allocation logic. */ /**************************************************************************** @@ -158,4 +165,5 @@ EXTERN void gran_free(GRAN_HANDLE handle, FAR void *memory, size_t size); } #endif +#endif /* CONFIG_GRAN */ #endif /* __INCLUDE_NUTTX_GRAN_H */ |