mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 00:25:13 +08:00
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.
This commit is contained in:
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user