From 7c19e50bdd3b6ae234b171992f2e109d4f804cda Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Tue, 18 Dec 2018 08:45:06 +0100 Subject: 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. --- cpukit/sapi/src/interrtext.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'cpukit/sapi/src') 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 ) -- cgit v1.2.3