diff options
author | Till Straumann <strauman@slac.stanford.edu> | 2009-10-29 03:15:03 +0000 |
---|---|---|
committer | Till Straumann <strauman@slac.stanford.edu> | 2009-10-29 03:15:03 +0000 |
commit | a6d48e3941123189084882866361ff009de1ee04 (patch) | |
tree | 96e033d504c0da7aeb1a0ac0185cb80a802db847 /cpukit/ChangeLog | |
parent | 2009-10-28 Till Straumann <strauman@slac.stanford.edu> (diff) | |
download | rtems-a6d48e3941123189084882866361ff009de1ee04.tar.bz2 |
2009-10-28 Till Straumann <strauman@slac.stanford.edu>
* score/cpu/i386/rtems/score/cpu.h:
Added #ifdef ASM constructs so that this header can be
included from assembly code.
Increased CPU_STACK_ALIGNMENT to 16 bytes. Gcc maintains
16-byte alignment and it may be a advantageous to provide
initial 16-byte alignment. When using SSE some gcc versions
may produce code that crashes if the stack is not 16-byte aligned.
Make sure _CPU_Context_Initialize() sets the thread stack
up so that it is aligned to CPU_CACHE_ALIGNMENT.
* score/cpu/i386/cpu_asm.S:
Align stack to CPU_CACHE_ALIGNMENT before calling C-code.
Diffstat (limited to 'cpukit/ChangeLog')
-rw-r--r-- | cpukit/ChangeLog | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 4274f071a9..d79f98f664 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,20 @@ +2009-10-28 Till Straumann <strauman@slac.stanford.edu> + + * score/cpu/i386/rtems/score/cpu.h: + Added #ifdef ASM constructs so that this header can be + included from assembly code. + + Increased CPU_STACK_ALIGNMENT to 16 bytes. Gcc maintains + 16-byte alignment and it may be a advantageous to provide + initial 16-byte alignment. When using SSE some gcc versions + may produce code that crashes if the stack is not 16-byte aligned. + + Make sure _CPU_Context_Initialize() sets the thread stack + up so that it is aligned to CPU_CACHE_ALIGNMENT. + + * score/cpu/i386/cpu_asm.S: + Align stack to CPU_CACHE_ALIGNMENT before calling C-code. + 2009-10-27 Till Straumann <strauman@slac.stanford.edu> * score/cpu/i386/rtems/asm.h: Added definition for cr4 register. |