Changeset 8e5e78f in mainline


Ignore:
Timestamp:
2006-04-09T19:10:30Z (19 years ago)
Author:
Jakub Vana <jakub.vana@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
bafbb4b
Parents:
33472fa
Message:

Thread RSE support completion (kernel)

Files:
2 edited

Legend:

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

    r33472fa r8e5e78f  
    9595        switch_to_userspace((__address) kernel_uarg->uspace_entry,
    9696                            ((__address) kernel_uarg->uspace_stack)+PAGE_SIZE-ALIGN_UP(STACK_ITEM_SIZE, STACK_ALIGNMENT),
    97                             (__address) kernel_uarg->uspace_stack,
     97                            ((__address) kernel_uarg->uspace_stack)+PAGE_SIZE,
    9898                            (__address) kernel_uarg->uspace_uarg,
    9999                            psr.value, rsc.value);
  • generic/src/proc/task.c

    r33472fa r8e5e78f  
    4242#include <print.h>
    4343#include <elf.h>
     44
     45
     46#define LOADED_PROG_STACK_PAGES_NO 2
    4447
    4548SPINLOCK_INITIALIZE(tasks_lock);
     
    140143         * Create the data as_area.
    141144         */
    142         a = as_area_create(as, AS_AREA_READ | AS_AREA_WRITE, PAGE_SIZE, USTACK_ADDRESS);
     145        a = as_area_create(as, AS_AREA_READ | AS_AREA_WRITE, LOADED_PROG_STACK_PAGES_NO*PAGE_SIZE, USTACK_ADDRESS);
    143146
    144147        t = thread_create(uinit, kernel_uarg, task, 0, "uinit");
Note: See TracChangeset for help on using the changeset viewer.