diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-08-02 14:49:01 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-08-02 15:33:00 +0200 |
commit | 27bbc0598b4f1a85321fbc47d0f8446e37ea0d12 (patch) | |
tree | 80e1367a979a1046d0285bbed60e814aa8696951 /cpukit/score/cpu/mips/include | |
parent | bsp/riscv: Add missing BSP variant (diff) | |
download | rtems-27bbc0598b4f1a85321fbc47d0f8446e37ea0d12.tar.bz2 |
score: Remove CPU_PARTITION_ALIGNMENT
Use the CPU_SIZEOF_POINTER alignment instead. The internal alignment
requirement is defined by the use of Chain_Node (consisting of two
pointers) to manage the free chain of partitions.
It seems that previously the condition
CPU_PARTITION_ALIGNMENT >= sizeof(Chain_Node)
was true on all CPU ports. Now, we need an additional check.
Update #3482.
Diffstat (limited to 'cpukit/score/cpu/mips/include')
-rw-r--r-- | cpukit/score/cpu/mips/include/rtems/score/cpu.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/cpukit/score/cpu/mips/include/rtems/score/cpu.h b/cpukit/score/cpu/mips/include/rtems/score/cpu.h index bedb79c53a..42eae73b0a 100644 --- a/cpukit/score/cpu/mips/include/rtems/score/cpu.h +++ b/cpukit/score/cpu/mips/include/rtems/score/cpu.h @@ -553,20 +553,6 @@ extern Context_Control_fp _CPU_Null_fp_context; #define CPU_HEAP_ALIGNMENT CPU_ALIGNMENT /* - * This number corresponds to the byte alignment requirement for memory - * buffers allocated by the partition manager. This alignment requirement - * may be stricter than that for the data types alignment specified by - * CPU_ALIGNMENT. It is common for the partition to follow the same - * alignment requirement as CPU_ALIGNMENT. If the CPU_ALIGNMENT is strict - * enough for the partition, then this should be set to CPU_ALIGNMENT. - * - * NOTE: This does not have to be a power of 2. It does have to - * be greater or equal to than CPU_ALIGNMENT. - */ - -#define CPU_PARTITION_ALIGNMENT CPU_ALIGNMENT - -/* * This number corresponds to the byte alignment requirement for the * stack. This alignment requirement may be stricter than that for the * data types alignment specified by CPU_ALIGNMENT. If the CPU_ALIGNMENT |