aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/include/memcore.h
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-02-06 12:31:09 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-02-06 12:31:09 +0000
commit8e428dbd1a48615c36c8c086dd51079050c9fb1c (patch)
treed1c7168826614acb1925e997915a010f3c4d999b /os/kernel/include/memcore.h
parentf17db1931e95f5ebb42f557b6eead2bf1320db5a (diff)
downloadChibiOS-8e428dbd1a48615c36c8c086dd51079050c9fb1c.tar.gz
ChibiOS-8e428dbd1a48615c36c8c086dd51079050c9fb1c.tar.bz2
ChibiOS-8e428dbd1a48615c36c8c086dd51079050c9fb1c.zip
Kernel headers cleanup.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@1568 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/include/memcore.h')
-rw-r--r--os/kernel/include/memcore.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/os/kernel/include/memcore.h b/os/kernel/include/memcore.h
index d9675f1db..9fc8d7a44 100644
--- a/os/kernel/include/memcore.h
+++ b/os/kernel/include/memcore.h
@@ -18,8 +18,9 @@
*/
/**
- * @file memcore.h
- * @brief Core memory manager macros and structures.
+ * @file memcore.h
+ * @brief Core memory manager macros and structures.
+ *
* @addtogroup memcore
* @{
*/
@@ -28,31 +29,30 @@
#define _MEMCORE_H_
/**
- * @brief Memory alignment type.
+ * @brief Memory alignment type.
*/
typedef void *align_t;
/**
- * @brief Memory get function.
- *
- * @note This type must be assignment compatible with the @p chMemAlloc()
- * function.
+ * @brief Memory get function.
+ * @note This type must be assignment compatible with the @p chMemAlloc()
+ * function.
*/
typedef void *(*memgetfunc_t)(size_t size);
/**
- * @brief Alignment mask constant.
+ * @brief Alignment mask constant.
*/
#define MEM_ALIGN_MASK (sizeof(align_t) - 1)
/**
- * @brief Alignment helper macro.
+ * @brief Alignment helper macro.
*/
#define MEM_ALIGN_SIZE(p) (((size_t)(p) + MEM_ALIGN_MASK) & ~MEM_ALIGN_MASK)
/**
- * @brief Returns whatever a pointer or memory size is aligned to
- * the type @p align_t.
+ * @brief Returns whatever a pointer or memory size is aligned to
+ * the type @p align_t.
*/
#define MEM_IS_ALIGNED(p) (((size_t)(p) & MEM_ALIGN_MASK) == 0)