From e41cec318a2abed0e3da097741239904da9ab83d Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Wed, 14 Sep 2011 14:25:36 +0000 Subject: 2011-09-14 Sebastian Huber * rtems/score/cpu.h: Request cache alignment and small data area in CPU_STRUCTURE_ALIGNMENT. --- cpukit/score/cpu/nios2/rtems/score/cpu.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'cpukit/score/cpu/nios2/rtems/score/cpu.h') diff --git a/cpukit/score/cpu/nios2/rtems/score/cpu.h b/cpukit/score/cpu/nios2/rtems/score/cpu.h index b15ddeb2c4..956294d303 100644 --- a/cpukit/score/cpu/nios2/rtems/score/cpu.h +++ b/cpukit/score/cpu/nios2/rtems/score/cpu.h @@ -65,10 +65,7 @@ extern "C" { #define CPU_STACK_GROWS_UP FALSE -/* - * TODO: Run the timing tests and figure out if we profit from cache alignment. - */ -#define CPU_STRUCTURE_ALIGNMENT +#define CPU_STRUCTURE_ALIGNMENT __attribute__((section(".sdata"), aligned(32))) #define CPU_BIG_ENDIAN FALSE -- cgit v1.2.3