Changeset b9c229b in mainline


Ignore:
Timestamp:
2011-02-25T22:25:11Z (13 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
c7f23c0
Parents:
2550b6e
Message:

Allocate an ABI-compliant stack frame.

Location:
boot/arch/sparc64
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/sparc64/include/arch.h

    r2550b6e rb9c229b  
    4141#define STACK_BIAS                   2047
    4242#define STACK_WINDOW_SAVE_AREA_SIZE  (16 * 8)
     43#define STACK_ARG_SAVE_AREA_SIZE     (6 * 8)
    4344
    4445#define NWINDOWS  8
  • boot/arch/sparc64/src/asm.S

    r2550b6e rb9c229b  
    152152.global ofw
    153153ofw:
    154         save %sp, -STACK_WINDOW_SAVE_AREA_SIZE, %sp
     154        save %sp, -(STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE), %sp
    155155        set ofw_cif, %l0
    156156        ldx [%l0], %l0
Note: See TracChangeset for help on using the changeset viewer.