Changeset 0f250f9 in mainline for generic/include/proc/thread.h
- Timestamp:
- 2006-03-17T18:07:56Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 69f293e
- Parents:
- 6c6a19e6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
generic/include/proc/thread.h
r6c6a19e6 r0f250f9 41 41 #include <adt/list.h> 42 42 #include <mm/slab.h> 43 #include <proc/uarg.h> 43 44 44 45 #define THREAD_STACK_SIZE STACK_SIZE … … 118 119 }; 119 120 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 126 121 /** Thread list lock. 127 122 * … … 150 145 151 146 /** 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); 154 149 155 150 #endif
Note:
See TracChangeset
for help on using the changeset viewer.