Changes between Initial Version and Version 1 of Ticket #2352


Ignore:
Timestamp:
May 26, 2015, 11:01:49 AM (5 years ago)
Author:
Sebastian Huber
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2352 – Description

    initial v1  
    11We have
    22
     3{{{
    34/**
    45 * CPU's worst alignment requirement for data types on a byte boundary.  This
     
    89 */
    910#define CPU_ALIGNMENT      8
     11}}}
    1012
    1113which is in line with the SPARC ABI.
     
    1315We have
    1416
     17{{{
    1518/**
    1619 * This number corresponds to the byte alignment requirement for the
     
    2730 */
    2831#define CPU_STACK_ALIGNMENT        16
     32}}}
    2933
    3034which makes not really sense in combination with
    3135
     36{{{
    3237/** This defines the size of the ISF area for use in assembly. */
    3338#define CONTEXT_CONTROL_INTERRUPT_FRAME_SIZE \
    3439        CPU_MINIMUM_STACK_FRAME_SIZE + 0x50
     40}}}
    3541
    3642(= not 16 byte aligned) and (_ISR_Handler)
    3743
     44{{{
    3845        /*
    3946         *  Save the state of the interrupted task -- especially the global
     
    4754        sub     %fp, CONTEXT_CONTROL_INTERRUPT_FRAME_SIZE, %sp
    4855                                               ! make space for ISF
     56}}}
    4957
    5058I suggest to change CPU_STACK_ALIGNMENT to
    5159
     60{{{
    5261#define CPU_STACK_ALIGNMENT CPU_ALIGNMENT
     62}}}