Changeset 5c089c3a in mainline for arch/ia64/src/ia64.c


Ignore:
Timestamp:
2006-03-13T21:20:46Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
27810c5
Parents:
631ca4d
Message:

ia64 work.
Support for SYSCALL4.
Fix user stack initial address.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/ia64/src/ia64.c

    r631ca4d r5c089c3a  
    3636#include <arch/types.h>
    3737#include <arch/context.h>
     38#include <arch/stack.h>
    3839#include <arch/mm/page.h>
    3940#include <mm/as.h>
     
    8485        rsc.mode = 3;                           /* eager mode */
    8586
    86         switch_to_userspace(entry, USTACK_ADDRESS+PAGE_SIZE-1, USTACK_ADDRESS, psr.value, rsc.value);
     87        switch_to_userspace(entry, USTACK_ADDRESS+PAGE_SIZE-ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT), USTACK_ADDRESS, psr.value, rsc.value);
    8788
    8889        while (1) {
Note: See TracChangeset for help on using the changeset viewer.