source: rtems/testsuites/sptests/spfatal04/init.c @ 6b0873f

5
Last change on this file since 6b0873f was 6b0873f, checked in by Sebastian Huber <sebastian.huber@…>, on 02/14/20 at 07:40:41

config: Remove CONFIGURE_HAS_OWN_INIT_TASK_TABLE

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:

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.

  • Property mode set to 100644
File size: 538 bytes
Line 
1#ifdef HAVE_CONFIG_H
2#include "config.h"
3#endif
4
5#include "../spfatal_support/spfatal.h"
6
7/*
8 * Classic API Init task create failure
9 */
10
11#define FATAL_ERROR_TEST_NAME            "4"
12#define FATAL_ERROR_DESCRIPTION \
13        "Classic API call rtems_fatal_error_occurred"
14#define FATAL_ERROR_EXPECTED_SOURCE      INTERNAL_ERROR_RTEMS_API
15#define FATAL_ERROR_EXPECTED_ERROR       0xdead
16
17static void force_error(void)
18{
19  rtems_fatal_error_occurred( 0xdead );
20  /* we will not run this far */
21}
22
23#include "../spfatal_support/spfatalimpl.h"
Note: See TracBrowser for help on using the repository browser.