Changeset 4b2c458c in mainline


Ignore:
Timestamp:
2009-07-11T20:55:41Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
450448d
Parents:
ec8b0dac
Message:

sparc64's SP_DELTA needs more space.

Files:
3 edited

Legend:

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

    rec8b0dac r4b2c458c  
    4040#include <align.h>
    4141
    42 #define SP_DELTA        STACK_WINDOW_SAVE_AREA_SIZE
     42#define SP_DELTA        (STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE)
    4343
    4444#ifdef context_set
  • uspace/lib/libc/arch/sparc64/include/fibril.h

    rec8b0dac r4b2c458c  
    4040#include <align.h>
    4141
    42 #define SP_DELTA        STACK_WINDOW_SAVE_AREA_SIZE
     42#define SP_DELTA        (STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE)
    4343
    4444#ifdef context_set
  • uspace/lib/libc/arch/sparc64/include/stack.h

    rec8b0dac r4b2c458c  
    4646#define STACK_WINDOW_SAVE_AREA_SIZE     (16 * STACK_ITEM_SIZE)
    4747
     48/*
     49 * Six extended words for first six arguments.
     50 */
     51#define STACK_ARG_SAVE_AREA_SIZE                (6 * STACK_ITEM_SIZE)
     52
    4853/**
    4954 * By convention, the actual top of the stack is %sp + STACK_BIAS.
Note: See TracChangeset for help on using the changeset viewer.