Changeset f30e6a0b in mainline


Ignore:
Timestamp:
2006-04-12T11:59:03Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1e17fc
Parents:
c9857c6
Message:

Userspace suport for SYS_GET_TASK_ID syscall.

Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • init/init.c

    rc9857c6 rf30e6a0b  
    3434#include <ns.h>
    3535#include <thread.h>
     36#include <task.h>
    3637#include <psthread.h>
    3738#include <futex.h>
     
    289290//      test_slam();
    290291       
     292        printf("Userspace task, taskid=%llX\n", get_task_id());
     293
    291294        futex_initialize(&ftx, 1);
    292295        if (futex_down(&ftx) < 0)
  • libc/Makefile

    rc9857c6 rf30e6a0b  
    4747        generic/string.c \
    4848        generic/thread.c \
     49        generic/task.c \
    4950        generic/futex.c \
    5051        generic/io/io.c \
  • libc/arch/ia64/include/psthread.h

    rc9857c6 rf30e6a0b  
    4343
    4444#define PSTHREAD_INITIAL_STACK_PAGES_NO 2
    45 #define PSTHREAD_INITIAL_STACK_DIVISION 2  /*Stack is divided into two equal parts (for clasic stack and register stack)*/
    46 
     45/* Stack is divided into two equal parts (for memory stack and register stack). */
     46#define PSTHREAD_INITIAL_STACK_DIVISION 2 
    4747
    4848#ifdef context_set
Note: See TracChangeset for help on using the changeset viewer.