From 25ddb1c801f06a3be7171e20dcfd46d11a75f112 Mon Sep 17 00:00:00 2001 From: gdisirio Date: Fri, 19 Jul 2013 14:51:35 +0000 Subject: First cleanup pass finished, queues and streams not yet removed. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@5999 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/kernel/include/chmemcore.h | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) (limited to 'os/kernel/include/chmemcore.h') diff --git a/os/kernel/include/chmemcore.h b/os/kernel/include/chmemcore.h index 4f75bd043..dbc5d5d60 100644 --- a/os/kernel/include/chmemcore.h +++ b/os/kernel/include/chmemcore.h @@ -29,6 +29,24 @@ #ifndef _CHMEMCORE_H_ #define _CHMEMCORE_H_ +#if CH_USE_MEMCORE || defined(__DOXYGEN__) + +/*===========================================================================*/ +/* Module constants. */ +/*===========================================================================*/ + +/*===========================================================================*/ +/* Module pre-compile time settings. */ +/*===========================================================================*/ + +/*===========================================================================*/ +/* Derived constants and error checks. */ +/*===========================================================================*/ + +/*===========================================================================*/ +/* Module data structures and types. */ +/*===========================================================================*/ + /** * @brief Memory get function. * @note This type must be assignment compatible with the @p chMemAlloc() @@ -36,6 +54,10 @@ */ typedef void *(*memgetfunc_t)(size_t size); +/*===========================================================================*/ +/* Module macros. */ +/*===========================================================================*/ + /** * @name Alignment support macros */ @@ -66,7 +88,9 @@ typedef void *(*memgetfunc_t)(size_t size); #define MEM_IS_ALIGNED(p) (((size_t)(p) & MEM_ALIGN_MASK) == 0) /** @} */ -#if CH_USE_MEMCORE || defined(__DOXYGEN__) +/*===========================================================================*/ +/* External declarations. */ +/*===========================================================================*/ #ifdef __cplusplus extern "C" { @@ -79,6 +103,10 @@ extern "C" { } #endif +/*===========================================================================*/ +/* Module inline functions. */ +/*===========================================================================*/ + #endif /* CH_USE_MEMCORE */ #endif /* _CHMEMCORE_H_ */ -- cgit v1.2.3