[rtems commit] score: Increase PER_CPU_CONTROL_SIZE_APPROX

Sebastian Huber sebh at rtems.org
Fri Jun 29 10:57:36 UTC 2018


Module:    rtems
Branch:    master
Commit:    b36bf5bda87b749f4163facbccbff8e15029011b
Changeset: http://git.rtems.org/rtems/commit/?id=b36bf5bda87b749f4163facbccbff8e15029011b

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Jun 29 12:55:28 2018 +0200

score: Increase PER_CPU_CONTROL_SIZE_APPROX

Increase the PER_CPU_CONTROL_SIZE_APPROX on 64-bit targets.

Update #3433.

---

 cpukit/include/rtems/score/percpu.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpukit/include/rtems/score/percpu.h b/cpukit/include/rtems/score/percpu.h
index 4a8353d..f0b155d 100644
--- a/cpukit/include/rtems/score/percpu.h
+++ b/cpukit/include/rtems/score/percpu.h
@@ -40,7 +40,7 @@ extern "C" {
 #if defined(RTEMS_SMP)
   #if defined(RTEMS_PROFILING)
     #define PER_CPU_CONTROL_SIZE_APPROX ( 512 + CPU_INTERRUPT_FRAME_SIZE )
-  #elif defined(RTEMS_DEBUG)
+  #elif defined(RTEMS_DEBUG) || CPU_SIZEOF_POINTER > 4
     #define PER_CPU_CONTROL_SIZE_APPROX ( 256 + CPU_INTERRUPT_FRAME_SIZE )
   #else
     #define PER_CPU_CONTROL_SIZE_APPROX ( 128 + CPU_INTERRUPT_FRAME_SIZE )




More information about the vc mailing list