summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/score/wkspace.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2019-04-03 12:44:42 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2019-04-04 07:22:08 +0200
commitfbe8a7ab90165ebfd9f3fab166cefe74e4e6de6d (patch)
tree23015cc1b615d65b6d1519ac01fde1aa4745fb76 /cpukit/include/rtems/score/wkspace.h
parentSet the small data section size to max. for beatnik BSPs. (diff)
downloadrtems-fbe8a7ab90165ebfd9f3fab166cefe74e4e6de6d.tar.bz2
doxygen: Rework some Doxygen comments
They are intended as examples in the RTEMS Software Engineering manual. Update #3704.
Diffstat (limited to 'cpukit/include/rtems/score/wkspace.h')
-rw-r--r--cpukit/include/rtems/score/wkspace.h17
1 files changed, 7 insertions, 10 deletions
diff --git a/cpukit/include/rtems/score/wkspace.h b/cpukit/include/rtems/score/wkspace.h
index cbb4011824..551a10d50d 100644
--- a/cpukit/include/rtems/score/wkspace.h
+++ b/cpukit/include/rtems/score/wkspace.h
@@ -57,19 +57,16 @@ void _Workspace_Handler_initialization(
);
/**
- * @brief Allocate memory from workspace.
+ * @brief Allocates a memory block of the specified size from the workspace.
*
- * This routine returns the address of a block of memory of size
- * bytes. If a block of the appropriate size cannot be allocated
- * from the workspace, then NULL is returned.
- *
- * @param size is the requested size
+ * @param size The size of the memory block.
*
- * @retval a pointer to the requested memory or NULL.
+ * @retval pointer The pointer to the memory block. The pointer is at least
+ * aligned by CPU_HEAP_ALIGNMENT.
+ * @retval NULL No memory block with the requested size is available in the
+ * workspace.
*/
-void *_Workspace_Allocate(
- size_t size
-);
+void *_Workspace_Allocate( size_t size );
/**
* @brief Allocate aligned memory from workspace.