diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2011-09-14 14:25:36 +0000 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2011-09-14 14:25:36 +0000 |
commit | e41cec318a2abed0e3da097741239904da9ab83d (patch) | |
tree | f7143e83916990f5ad38c5223e0d44cb5ecd4476 /cpukit/score/cpu/nios2/rtems/score/cpu.h | |
parent | 2011-09-14 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-e41cec318a2abed0e3da097741239904da9ab83d.tar.bz2 |
2011-09-14 Sebastian Huber <sebastian.huber@embedded-brains.de>
* rtems/score/cpu.h: Request cache alignment and small data area in
CPU_STRUCTURE_ALIGNMENT.
Diffstat (limited to 'cpukit/score/cpu/nios2/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/nios2/rtems/score/cpu.h | 5 |
1 files changed, 1 insertions, 4 deletions
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 |