Changeset dda1922 in rtems


Ignore:
Timestamp:
May 10, 2019, 7:09:40 AM (13 days ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
93dcd2b
Parents:
cf5d5d80
git-author:
Sebastian Huber <sebastian.huber@…> (05/10/19 07:09:40)
git-committer:
Sebastian Huber <sebastian.huber@…> (05/10/19 07:11:54)
Message:

score: Adjust PER_CPU_CONTROL_SIZE_APPROX

Account for recent Per_CPU_Control structure member additions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/score/percpu.h

    rcf5d5d80 rdda1922  
    3939#if defined(RTEMS_SMP)
    4040  #if defined(RTEMS_PROFILING)
    41     #define PER_CPU_CONTROL_SIZE_APPROX ( 512 + CPU_INTERRUPT_FRAME_SIZE )
     41    #define PER_CPU_CONTROL_SIZE_APPROX \
     42      ( 512 + CPU_PER_CPU_CONTROL_SIZE + CPU_INTERRUPT_FRAME_SIZE )
    4243  #elif defined(RTEMS_DEBUG) || CPU_SIZEOF_POINTER > 4
    43     #define PER_CPU_CONTROL_SIZE_APPROX ( 256 + CPU_INTERRUPT_FRAME_SIZE )
     44    #define PER_CPU_CONTROL_SIZE_APPROX \
     45      ( 256 + CPU_PER_CPU_CONTROL_SIZE + CPU_INTERRUPT_FRAME_SIZE )
    4446  #else
    45     #define PER_CPU_CONTROL_SIZE_APPROX ( 128 + CPU_INTERRUPT_FRAME_SIZE )
     47    #define PER_CPU_CONTROL_SIZE_APPROX \
     48      ( 180 + CPU_PER_CPU_CONTROL_SIZE + CPU_INTERRUPT_FRAME_SIZE )
    4649  #endif
    4750
Note: See TracChangeset for help on using the changeset viewer.