Changeset 05ae7081 in mainline for kernel/arch/sparc64/include/stack.h


Ignore:
Timestamp:
2007-11-16T16:24:05Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9cc0d7c
Parents:
454889c
Message:

Support for six syscall arguments for sparc64.
There is a minor stability issue which needs to be fixed (kernel panics upon entering kconsole from the
console task).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/include/stack.h

    r454889c r05ae7081  
    4747
    4848/**
     49 * Six extended words for first six arguments.
     50 */
     51#define STACK_ARG_SAVE_AREA_SIZE        (6 * STACK_ITEM_SIZE)
     52
     53/**
    4954 * By convention, the actual top of the stack is %sp + STACK_BIAS.
    5055 */
    5156#define STACK_BIAS            2047
     57
     58/*
     59 * Offsets of arguments on stack.
     60 */
     61#define STACK_ARG0                      0
     62#define STACK_ARG1                      8
     63#define STACK_ARG2                      16
     64#define STACK_ARG3                      24
     65#define STACK_ARG4                      32
     66#define STACK_ARG5                      40
     67#define STACK_ARG6                      48
    5268
    5369#endif
Note: See TracChangeset for help on using the changeset viewer.