Changeset 0f250f9 in mainline for generic/include/proc/thread.h


Ignore:
Timestamp:
2006-03-17T18:07:56Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
69f293e
Parents:
6c6a19e6
Message:

Improved uspace threads.
ia64 needs fixing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • generic/include/proc/thread.h

    r6c6a19e6 r0f250f9  
    4141#include <adt/list.h>
    4242#include <mm/slab.h>
     43#include <proc/uarg.h>
    4344
    4445#define THREAD_STACK_SIZE       STACK_SIZE
     
    118119};
    119120
    120 /** Structure passed to uinit kernel thread as argument. */
    121 typedef struct uspace_arg {
    122         __address uspace_entry;
    123         __address uspace_stack;
    124 } uspace_arg_t;
    125 
    126121/** Thread list lock.
    127122 *
     
    150145
    151146/** Thread syscall prototypes. */
    152 __native sys_thread_create(__address function, void *arg, void *stack, char *name);
    153 __native sys_thread_exit(int status);
     147__native sys_thread_create(uspace_arg_t *uspace_uarg, char *uspace_name);
     148__native sys_thread_exit(int uspace_status);
    154149
    155150#endif
Note: See TracChangeset for help on using the changeset viewer.