summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libcpu/i386/displayCpu.c
diff options
context:
space:
mode:
authorTill Straumann <strauman@slac.stanford.edu>2009-10-29 03:15:03 +0000
committerTill Straumann <strauman@slac.stanford.edu>2009-10-29 03:15:03 +0000
commita6d48e3941123189084882866361ff009de1ee04 (patch)
tree96e033d504c0da7aeb1a0ac0185cb80a802db847 /c/src/lib/libcpu/i386/displayCpu.c
parent2009-10-28 Till Straumann <strauman@slac.stanford.edu> (diff)
downloadrtems-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 'c/src/lib/libcpu/i386/displayCpu.c')
0 files changed, 0 insertions, 0 deletions