rtems: Regenerate for IDLE task allocator option

Update #4524.
This commit is contained in:
Sebastian Huber
2021-10-19 16:29:48 +02:00
parent 28632b558c
commit f1723d1293
2 changed files with 45 additions and 13 deletions

View File

@@ -3,7 +3,7 @@
/* /*
* Copyright (C) 2019, 2021 embedded brains GmbH (http://www.embedded-brains.de) * Copyright (C) 2019, 2021 embedded brains GmbH (http://www.embedded-brains.de)
* Copyright (C) 2010 Gedare Bloom * Copyright (C) 2010 Gedare Bloom
* Copyright (C) 1988, 2008 On-Line Applications Research Corporation (OAR) * Copyright (C) 1988, 2021 On-Line Applications Research Corporation (OAR)
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions * modification, are permitted provided that the following conditions
@@ -4671,6 +4671,32 @@
*/ */
#define CONFIGURE_TASK_STACK_ALLOCATOR_AVOIDS_WORK_SPACE #define CONFIGURE_TASK_STACK_ALLOCATOR_AVOIDS_WORK_SPACE
/* Generated from spec:/acfg/if/task-stack-allocator-for-idle */
/**
* @brief This configuration option is an initializer define.
*
* The value of this configuration option is the address for the stack
* allocator allocate handler used to allocate the task stack of each IDLE
* task.
*
* @par Default Value
* The default value is ``_Stack_Allocator_allocate_for_idle_default``, which
* indicates that IDLE task stacks will be allocated from an area statically
* allocated by ``<rtems/confdefs.h>``.
*
* @par Value Constraints
* The value of this configuration option shall be defined to a valid function
* pointer of the type ``void *( *allocate )( uint32_t, size_t )``.
*
* @par Notes
* This configuration option is independent of the other thread stack allocator
* configuration options. It is assumed that any memory allocated for the
* stack of an IDLE task will not be from the RTEMS Workspace or the memory
* statically allocated by default.
*/
#define CONFIGURE_TASK_STACK_ALLOCATOR_FOR_IDLE
/* Generated from spec:/acfg/if/task-stack-allocator-init */ /* Generated from spec:/acfg/if/task-stack-allocator-init */
/** /**

View File

@@ -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) * Copyright (C) 2009, 2021 embedded brains GmbH (http://www.embedded-brains.de)
* *
* Redistribution and use in source and binary forms, with or without * 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() \ #define rtems_configuration_get_number_of_initial_extensions() \
((uint32_t) _User_extensions_Initial_count) ((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 */ /* 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 #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 */ /* Generated from spec:/rtems/config/if/get-stack-space-size */
/** /**