Changeset a6d48e3 in rtems for cpukit/ChangeLog

Timestamp:
10/29/09 03:15:03 (14 years ago)
Author:
Till Straumann <strauman@…>
Branches:
4.10, 4.11, 5, master
Children:
b80e857
Parents:
caf761f
Message:

2009-10-28 Till Straumann <strauman@…>

  • 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.
(No files)

Note: See TracChangeset for help on using the changeset viewer.