Changeset 44539b4c in mainline


Ignore:
Timestamp:
2009-07-13T19:42:44Z (15 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f450280
Parents:
716fb9d
Message:

Adhere to the sparc64 ABI and provide stack space for procedure arguments.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/asm.S

    r716fb9d r44539b4c  
    278278.global switch_to_userspace
    279279switch_to_userspace:
    280         save %o1, -STACK_WINDOW_SAVE_AREA_SIZE, %sp
     280        save %o1, -(STACK_WINDOW_SAVE_AREA_SIZE + STACK_ARG_SAVE_AREA_SIZE), %sp
    281281        flushw
    282282        wrpr %g0, 0, %cleanwin          ! avoid information leak
Note: See TracChangeset for help on using the changeset viewer.