summaryrefslogtreecommitdiffstats
path: root/cpukit/include/rtems/config.h
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-10-19 16:29:48 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-10-25 08:02:45 +0200
commitf1723d129306855a7ae730e250bc20beafba81d4 (patch)
tree64f25c5dee7edacb6514a4098317d514fa82788f /cpukit/include/rtems/config.h
parentscore: Fix typo (diff)
downloadrtems-f1723d129306855a7ae730e250bc20beafba81d4.tar.bz2
rtems: Regenerate for IDLE task allocator option
Update #4524.
Diffstat (limited to 'cpukit/include/rtems/config.h')
-rw-r--r--cpukit/include/rtems/config.h30
1 files changed, 18 insertions, 12 deletions
diff --git a/cpukit/include/rtems/config.h b/cpukit/include/rtems/config.h
index 7b15bc34a2..32dd662b3e 100644
--- a/cpukit/include/rtems/config.h
+++ b/cpukit/include/rtems/config.h
@@ -10,6 +10,7 @@
*/
/*
+ * Copyright (C) 2021 On-Line Applications Research Corporation (OAR)
* Copyright (C) 2009, 2021 embedded brains GmbH (http://www.embedded-brains.de)
*
* Redistribution and use in source and binary forms, with or without
@@ -302,6 +303,23 @@ uint32_t rtems_configuration_get_maximum_extensions( void );
#define rtems_configuration_get_number_of_initial_extensions() \
((uint32_t) _User_extensions_Initial_count)
+/* Generated from spec:/rtems/config/if/get-stack-allocate-for-idle-hook */
+
+/**
+ * @ingroup RTEMSAPIConfig
+ *
+ * @brief Gets the thread stack allocator allocate hook used to allocate the
+ * stack of each IDLE task configured for this application.
+ *
+ * @return Returns the thread stack allocator allocate hook used to allocate
+ * the stack of each IDLE task configured for this application.
+ *
+ * @par Notes
+ * See #CONFIGURE_TASK_STACK_ALLOCATOR_FOR_IDLE.
+ */
+#define rtems_configuration_get_stack_allocate_for_idle_hook() \
+ _Stack_Allocator_allocate_for_idle
+
/* Generated from spec:/rtems/config/if/get-stack-allocate-hook */
/**
@@ -368,18 +386,6 @@ uint32_t rtems_configuration_get_maximum_extensions( void );
*/
#define rtems_configuration_get_stack_free_hook() _Stack_Allocator_free
-/**
- * @ingroup RTEMSAPIConfig
- *
- * @brief Gets the IDLE thread stack allocator hook configured for this
- * application.
- *
- * @return Returns the IDLE thread stack allocator hook configured for this
- * application.
- */
-#define rtems_configuration_get_stack_allocate_for_idle_hook() \
- (_Stack_Allocator_allocate_for_idle)
-
/* Generated from spec:/rtems/config/if/get-stack-space-size */
/**