Ignore:
Timestamp:
2013-11-17T21:27:39Z (10 years ago)
Author:
Jakub Klama <jakub.klama@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
3bc42bd
Parents:
a3b034b
Message:

Fix sparc64-isms, like 64-bit register widths and stack bias.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/sparc32/include/libarch/stack.h

    ra3b034b ra7372ccf  
    3939
    4040/** According to SPARC Compliance Definition, every stack frame is 16-byte aligned. */
    41 #define STACK_ALIGNMENT                 16
     41#define STACK_ALIGNMENT                 8
    4242
    4343/**
     
    5151#define STACK_ARG_SAVE_AREA_SIZE                (6 * STACK_ITEM_SIZE)
    5252
    53 /**
    54  * By convention, the actual top of the stack is %sp + STACK_BIAS.
    55  */
    56 #define STACK_BIAS            2047
    57 
    5853#endif
    5954
Note: See TracChangeset for help on using the changeset viewer.