aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/src/chmemcore.c
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-09-21 10:22:06 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2010-09-21 10:22:06 +0000
commit07351222e6d0b6b3dcd4f50ecb18bc09e7402d1c (patch)
tree4766a942caadb8937c09c015ec2609d8455ba8c5 /os/kernel/src/chmemcore.c
parent16855e1a4e43b4b45e5b5a595628ab1d8c108093 (diff)
downloadChibiOS-07351222e6d0b6b3dcd4f50ecb18bc09e7402d1c.tar.gz
ChibiOS-07351222e6d0b6b3dcd4f50ecb18bc09e7402d1c.tar.bz2
ChibiOS-07351222e6d0b6b3dcd4f50ecb18bc09e7402d1c.zip
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@2184 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/kernel/src/chmemcore.c')
-rw-r--r--os/kernel/src/chmemcore.c9
1 files changed, 8 insertions, 1 deletions
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) {