Changeset 7c19e50 in rtems for testsuites


Ignore:
Timestamp:
Dec 18, 2018, 7:45:06 AM (12 months ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
cde5e8d
Parents:
e7b0a72
git-author:
Sebastian Huber <sebastian.huber@…> (12/18/18 07:45:06)
git-committer:
Sebastian Huber <sebastian.huber@…> (12/18/18 07:50:08)
Message:

score: Fix per-CPU data allocation

Allocate the per-CPU data for secondary processors directly from the
heap areas before heap initialization and not via
_Workspace_Allocate_aligned(). This avoids dependency on the workspace
allocator. It fixes also a problem on some platforms (e.g. QorIQ) where
at this early point in the system initialization the top of the RAM is
used by low-level startup code on secondary processors (boot pages).

Update #3507.

Location:
testsuites
Files:
3 added
4 edited

Legend:

Unmodified
Added
Removed
  • testsuites/smptests/Makefile.am

    re7b0a72 r7c19e50  
    239239
    240240if HAS_SMP
     241if TEST_smpfatal09
     242smp_tests += smpfatal09
     243smp_screens += smpfatal09/smpfatal09.scn
     244smp_docs += smpfatal09/smpfatal09.doc
     245smpfatal09_SOURCES = smpfatal09/init.c
     246smpfatal09_CPPFLAGS = $(AM_CPPFLAGS) $(TEST_FLAGS_smpfatal09) \
     247        $(support_includes)
     248endif
     249endif
     250
     251if HAS_SMP
    241252if TEST_smpipi01
    242253smp_tests += smpipi01
  • testsuites/smptests/configure.ac

    re7b0a72 r7c19e50  
    5454RTEMS_TEST_CHECK([smpfatal06])
    5555RTEMS_TEST_CHECK([smpfatal08])
     56RTEMS_TEST_CHECK([smpfatal09])
    5657RTEMS_TEST_CHECK([smpipi01])
    5758RTEMS_TEST_CHECK([smpload01])
  • testsuites/sptests/spinternalerror02/init.c

    re7b0a72 r7c19e50  
    3737
    3838  rtems_test_assert(
    39     error - 3 == INTERNAL_ERROR_ARC4RANDOM_GETENTROPY_FAIL
     39    error - 3 == INTERNAL_ERROR_NO_MEMORY_FOR_PER_CPU_DATA
    4040  );
    4141}
  • testsuites/sptests/spinternalerror02/spinternalerror02.scn

    re7b0a72 r7c19e50  
    11*** BEGIN OF TEST SPINTERNALERROR 2 ***
     2*** TEST VERSION: 5.0.0.cfa82b34b0c53ab4e3d84dd8ab5225793d48fcd0
     3*** TEST STATE: EXPECTED-PASS
     4*** TEST BUILD:
     5*** TEST TOOLS: 7.4.0 20181206 (RTEMS 5, RSB ddba5372522da341fa20b2c75dfe966231cb6790, Newlib df6915f029ac9acd2b479ea898388cbd7dda4974)
    26INTERNAL_ERROR_NO_CONFIGURATION_TABLE
    37INTERNAL_ERROR_NO_CPU_TABLE
     
    3236INTERNAL_ERROR_BAD_THREAD_DISPATCH_DISABLE_LEVEL
    3337INTERNAL_ERROR_BAD_THREAD_DISPATCH_ENVIRONMENT
     38INTERNAL_ERROR_RTEMS_INIT_TASK_CREATE_FAILED
     39INTERNAL_ERROR_POSIX_INIT_THREAD_CREATE_FAILED
     40INTERNAL_ERROR_LIBIO_USER_ENV_KEY_CREATE_FAILED
     41INTERNAL_ERROR_LIBIO_SEM_CREATE_FAILED
     42INTERNAL_ERROR_LIBIO_STDOUT_FD_OPEN_FAILED
     43INTERNAL_ERROR_LIBIO_STDERR_FD_OPEN_FAILED
     44INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT
     45INTERNAL_ERROR_ARC4RANDOM_GETENTROPY_FAIL
     46INTERNAL_ERROR_NO_MEMORY_FOR_PER_CPU_DATA
    3447?
    3548?
     
    8093?
    8194?
     95
    8296*** END OF TEST SPINTERNALERROR 2 ***
Note: See TracChangeset for help on using the changeset viewer.