* rtems/score/cpu.h: Request cache alignment and small data area in
	CPU_STRUCTURE_ALIGNMENT.
This commit is contained in:
Sebastian Huber
2011-09-14 14:25:36 +00:00
parent 3f764a8d0d
commit e41cec318a
2 changed files with 6 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
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.
2011-09-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
* nios2-thread-dispatch-disabled.c: Use offsetof() instead of

View File

@@ -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