summaryrefslogtreecommitdiff
path: root/nuttx/mm/mm_internal.h
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-15 01:39:03 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2009-12-15 01:39:03 +0000
commit2b8c1142b851c7a81eafe69ed35c490f3d9c6735 (patch)
tree4d6aa4a8b58305d635635ce6b8cb3532aa437c67 /nuttx/mm/mm_internal.h
parenta4155eb61d984728e938cd4b1ab0aca7b9513d78 (diff)
downloadpx4-nuttx-2b8c1142b851c7a81eafe69ed35c490f3d9c6735.tar.gz
px4-nuttx-2b8c1142b851c7a81eafe69ed35c490f3d9c6735.tar.bz2
px4-nuttx-2b8c1142b851c7a81eafe69ed35c490f3d9c6735.zip
Switching to C99 stdint/stdbool.h types
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@2342 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/mm/mm_internal.h')
-rw-r--r--nuttx/mm/mm_internal.h38
1 files changed, 19 insertions, 19 deletions
diff --git a/nuttx/mm/mm_internal.h b/nuttx/mm/mm_internal.h
index 2b23dc0f2..0649122a2 100644
--- a/nuttx/mm/mm_internal.h
+++ b/nuttx/mm/mm_internal.h
@@ -1,7 +1,7 @@
-/************************************************************
- * mm_internal.h
+/************************************************************************
+ * mm/mm_internal.h
*
- * Copyright (C) 2007 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007, 2009 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <spudmonkey@racsa.co.cr>
*
* Redistribution and use in source and binary forms, with or without
@@ -14,7 +14,7 @@
* notice, this list of conditions and the following disclaimer in
* the documentation and/or other materials provided with the
* distribution.
- * 3. Neither the name Gregory Nutt nor the names of its contributors may be
+ * 3. Neither the name NuttX nor the names of its contributors may be
* used to endorse or promote products derived from this software
* without specific prior written permission.
*
@@ -31,18 +31,18 @@
* ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE.
*
- ************************************************************/
+ ************************************************************************/
-#ifndef __MM_INTERNAL_H
-#define __MM_INTERNAL_H
+#ifndef __MM_MM_INTERNAL_H
+#define __MM_MM_INTERNAL_H
-/************************************************************
+/************************************************************************
* Included Files
- ************************************************************/
+ ************************************************************************/
-/************************************************************
- * Definitions
- ************************************************************/
+/************************************************************************
+ * Pre-processor Definitions
+ ************************************************************************/
/* These definitions define the characteristics of allocator
*
@@ -92,9 +92,9 @@
#define MM_IS_ALLOCATED(n) \
((int)((struct mm_allocnode_s*)(n)->preceding) < 0))
-/************************************************************
+/************************************************************************
* Public Types
- ************************************************************/
+ ************************************************************************/
/* This describes an allocated chunk. An allocated chunk is
* distinguished from a free chunk by bit 31 of the 'precding'
@@ -150,9 +150,9 @@ struct mallinfo
};
#endif
-/************************************************************
+/************************************************************************
* Global Variables
- ************************************************************/
+ ************************************************************************/
/* This is the size of the heap provided to mm */
@@ -176,9 +176,9 @@ extern int g_nregions;
extern FAR struct mm_freenode_s g_nodelist[MM_NNODES];
-/************************************************************
+/************************************************************************
* Public Function Prototypes
- ************************************************************/
+ ************************************************************************/
/* Normally defined in malloc.h */
@@ -207,4 +207,4 @@ extern void mm_givesemaphore(void);
extern int mm_getsemaphore(void);
#endif
-#endif /* __MM_INTERNAL_H */
+#endif /* __MM_MM_INTERNAL_H */