diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-12-18 08:45:06 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-12-18 08:50:08 +0100 |
commit | 7c19e50bdd3b6ae234b171992f2e109d4f804cda (patch) | |
tree | c967305bf67491cb855cf19077139ad836113d8e /cpukit/sapi/src | |
parent | config: Remove CONFIGURE_CONFDEFS_DEBUG (diff) | |
download | rtems-7c19e50bdd3b6ae234b171992f2e109d4f804cda.tar.bz2 |
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.
Diffstat (limited to 'cpukit/sapi/src')
-rw-r--r-- | cpukit/sapi/src/interrtext.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/sapi/src/interrtext.c b/cpukit/sapi/src/interrtext.c index 79ba7948ef..bdd567c0b2 100644 --- a/cpukit/sapi/src/interrtext.c +++ b/cpukit/sapi/src/interrtext.c @@ -7,7 +7,7 @@ */ /* - * Copyright (c) 2012, 2017 embedded brains GmbH. All rights reserved. + * Copyright (c) 2012, 2018 embedded brains GmbH. All rights reserved. * * embedded brains GmbH * Dornierstr. 4 @@ -66,7 +66,8 @@ static const char *const internal_error_text[] = { "INTERNAL_ERROR_LIBIO_STDOUT_FD_OPEN_FAILED", "INTERNAL_ERROR_LIBIO_STDERR_FD_OPEN_FAILED", "INTERNAL_ERROR_ILLEGAL_USE_OF_FLOATING_POINT_UNIT", - "INTERNAL_ERROR_ARC4RANDOM_GETENTROPY_FAIL" + "INTERNAL_ERROR_ARC4RANDOM_GETENTROPY_FAIL", + "INTERNAL_ERROR_NO_MEMORY_FOR_PER_CPU_DATA" }; const char *rtems_internal_error_text( rtems_fatal_code error ) |