Changeset 78211376 in rtems
- Timestamp:
- 12/12/19 07:53:32 (4 years ago)
- Branches:
- 5, master
- Children:
- f7cd8c9
- Parents:
- 3fba9de2
- git-author:
- Sebastian Huber <sebastian.huber@…> (12/12/19 07:53:32)
- git-committer:
- Sebastian Huber <sebastian.huber@…> (12/13/19 07:35:21)
- Files:
-
- 3 deleted
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
cpukit/include/rtems/score/interr.h
r3fba9de2 r78211376 167 167 /* INTERNAL_ERROR_NO_CPU_TABLE = 1, */ 168 168 INTERNAL_ERROR_TOO_LITTLE_WORKSPACE = 2, 169 INTERNAL_ERROR_WORKSPACE_ALLOCATION = 3,169 /* INTERNAL_ERROR_WORKSPACE_ALLOCATION = 3, */ 170 170 /* INTERNAL_ERROR_INTERRUPT_STACK_TOO_SMALL = 4, */ 171 171 INTERNAL_ERROR_THREAD_EXITTED = 5, -
cpukit/include/rtems/score/wkspace.h
r3fba9de2 r78211376 103 103 104 104 /** 105 * @brief Allocates workspace or fails with fatal error.106 *107 * This routine returns the address of a block of memory of @a size108 * bytes. If a block of the appropriate size cannot be allocated109 * from the workspace, then the internal error handler is invoked.110 *111 * @param size is the desired number of bytes to allocate112 *113 * @return The starting address of the allocated memory.114 */115 void *_Workspace_Allocate_or_fatal_error(116 size_t size117 );118 119 /**120 105 * @brief Duplicates string with memory from the workspace. 121 106 * -
cpukit/score/src/wkspace.c
r3fba9de2 r78211376 271 271 _Heap_Free( &_Workspace_Area, block ); 272 272 } 273 274 void *_Workspace_Allocate_or_fatal_error(275 size_t size276 )277 {278 void *memory;279 280 memory = _Heap_Allocate( &_Workspace_Area, size );281 #if defined(DEBUG_WORKSPACE)282 printk(283 "Workspace_Allocate_or_fatal_error(%d) from %p/%p -> %p\n",284 size,285 __builtin_return_address( 0 ),286 __builtin_return_address( 1 ),287 memory288 );289 #endif290 291 if ( memory == NULL )292 _Internal_error( INTERNAL_ERROR_WORKSPACE_ALLOCATION );293 294 return memory;295 } -
testsuites/sptests/Makefile.am
r3fba9de2 r78211376 947 947 spfatal06_SOURCES = spfatal06/init.c 948 948 spfatal06_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal06) \ 949 $(support_includes)950 endif951 952 if TEST_spfatal08953 sp_tests += spfatal08954 sp_screens += spfatal08/spfatal08.scn955 sp_docs += spfatal08/spfatal08.doc956 spfatal08_SOURCES = spfatal08/init.c957 spfatal08_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_spfatal08) \958 949 $(support_includes) 959 950 endif -
testsuites/sptests/configure.ac
r3fba9de2 r78211376 143 143 RTEMS_TEST_CHECK([spfatal05]) 144 144 RTEMS_TEST_CHECK([spfatal06]) 145 RTEMS_TEST_CHECK([spfatal08])146 145 RTEMS_TEST_CHECK([spfatal09]) 147 146 RTEMS_TEST_CHECK([spfatal10])
Note: See TracChangeset
for help on using the changeset viewer.