Changeset 3b4795b4 in rtems for testsuites/psxtests/psxfatal01/init.c
- Timestamp:
- 02/14/20 10:20:42 (4 years ago)
- Branches:
- 5, master
- Children:
- b8648bd
- Parents:
- 9bdb6aa3
- git-author:
- Sebastian Huber <sebastian.huber@…> (02/14/20 10:20:42)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (02/25/20 06:15:18)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
testsuites/psxtests/psxfatal01/init.c
r9bdb6aa3 r3b4795b4 9 9 */ 10 10 11 #include <errno.h> 12 13 #include <rtems/posix/posixapi.h> 14 15 /* 16 * Way too much stack space. Should generate a fatal error 17 * on the init task create. 18 */ 19 #define CONFIGURE_POSIX_HAS_OWN_INIT_THREAD_TABLE 20 #define CONFIGURE_POSIX_INIT_THREAD_STACK_SIZE 0 21 posix_initialization_threads_table POSIX_Initialization_threads[] = { 22 { NULL, /* bad thread entry */ 23 0 24 } 25 }; 26 27 #define CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME POSIX_Initialization_threads 28 29 #define CONFIGURE_POSIX_INIT_THREAD_TABLE_SIZE \ 30 sizeof(CONFIGURE_POSIX_INIT_THREAD_TABLE_NAME) / \ 31 sizeof(posix_initialization_threads_table) 11 #define CONFIGURE_POSIX_INIT_THREAD_ENTRY_POINT NULL 32 12 33 13 #define FATAL_ERROR_TEST_NAME "1"
Note: See TracChangeset
for help on using the changeset viewer.