From 07351222e6d0b6b3dcd4f50ecb18bc09e7402d1c Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 21 Sep 2010 10:22:06 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2184 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/kernel/src/chmemcore.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'os/kernel/src/chmemcore.c') diff --git a/os/kernel/src/chmemcore.c b/os/kernel/src/chmemcore.c index 04edb7dae..69d3014a5 100644 --- a/os/kernel/src/chmemcore.c +++ b/os/kernel/src/chmemcore.c @@ -50,7 +50,8 @@ static uint8_t *endmem; /** * @brief Low level memory manager initialization. - * @note Internal use only. + * + * @notapi */ void core_init(void) { #if CH_MEMCORE_SIZE == 0 @@ -76,6 +77,8 @@ void core_init(void) { * @param[in] size the size of the block to be allocated * @return A pointer to the allocated memory block. * @retval NULL allocation failed, core memory exhausted. + * + * @api */ void *chCoreAlloc(size_t size) { void *p; @@ -95,6 +98,8 @@ void *chCoreAlloc(size_t size) { * @param[in] size the size of the block to be allocated. * @return A pointer to the allocated memory block. * @retval NULL allocation failed, core memory exhausted. + * + * @iclass */ void *chCoreAllocI(size_t size) { void *p; @@ -111,6 +116,8 @@ void *chCoreAllocI(size_t size) { * @brief Core memory status. * * @return The size, in bytes, of the free core memory. + * + * @api */ size_t chCoreStatus(void) { -- cgit v1.2.3