forked from Imagelibrary/rtems
The CONFIGURE_HAS_OWN_INIT_TASK_TABLE and CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE are the last *_HAS_OWN_* configuration options. These two options are probably unused, see also: * https://lists.rtems.org/pipermail/users/2019-April/033129.html * https://lists.rtems.org/pipermail/users/2019-April/033130.html Removing them simplifies the configuration. If there is a real user need which shows up after the removal, we can resurrect them on demand. Using CONFIGURE_HAS_OWN_INIT_TASK_TABLE would have required the use of the undocumented CONFIGURE_INIT_TASK_TABLE and CONFIGURE_INIT_TASK_TABLE_SIZE configuration options. Update #3873.
24 lines
538 B
C
24 lines
538 B
C
#ifdef HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif
|
|
|
|
#include "../spfatal_support/spfatal.h"
|
|
|
|
/*
|
|
* Classic API Init task create failure
|
|
*/
|
|
|
|
#define FATAL_ERROR_TEST_NAME "4"
|
|
#define FATAL_ERROR_DESCRIPTION \
|
|
"Classic API call rtems_fatal_error_occurred"
|
|
#define FATAL_ERROR_EXPECTED_SOURCE INTERNAL_ERROR_RTEMS_API
|
|
#define FATAL_ERROR_EXPECTED_ERROR 0xdead
|
|
|
|
static void force_error(void)
|
|
{
|
|
rtems_fatal_error_occurred( 0xdead );
|
|
/* we will not run this far */
|
|
}
|
|
|
|
#include "../spfatal_support/spfatalimpl.h"
|