diff options
author | neal <neal> | 2007-11-23 13:39:36 +0000 |
---|---|---|
committer | neal <neal> | 2007-11-23 13:39:36 +0000 |
commit | 063d8339dfe16b6035375a00f3a6313f2dff083c (patch) | |
tree | 6e37ef358183bf00e277da95f46f2586f597bd64 /viengoos/thread.h | |
parent | 2b62e6480aaa4c3dcb73f45fa4977d6b2e7de080 (diff) |
/
2007-11-23 Neal H. Walfield <neal@gnu.org>
* README: Add note that Pistachio must be compiled with the Pager
ExchangeRegisters configure option enabled.
hurd/
2007-11-23 Neal H. Walfield <neal@gnu.org>
* thread.h: Include <hurd/addr-trans.h>.
(HURD_EXREGS_EXCEPTION_THREAD): New definition.
(trans_exregs): Take two additional arguments for determining how
to copy the aspace address translation bits. Update callers.
(thread_stop): New function.
* rpc.h (RPC12_4): New macro.
(RPC13_4): Likewise.
* exceptions.h (exception_handler_init): New declaration.
(exception_handler_loop): Likewise.
libhurd-mm/
2007-11-23 Neal H. Walfield <neal@gnu.org>
* exceptions.c (exception_thread): Rename from this...
(exception_handler_loop): ... to this. Update caller.
* Makefile.am (libhurd_mm_a_SOURCES): Remove exceptions.h.
* exceptions.h: Remove file.
viengoos/
2007-11-23 Neal H. Walfield <neal@gnu.org>
* thread.h (thread_exregs): Take two additional arguments, a
cap_addr_trans structure and a corresponding flags. Update users.
* thread.c (thread_commission): Don't start thread THREAD.
(control_to_string): New function.
(thread_exregs): Take two additional arguments, a cap_addr_trans
structure and a corresponding flags. Use them when copying a
supplied capability into the address space slot of the thread.
Support the HURD_EXREGS_EXCEPTION_THREAD flag. Improve error
detection and debugging out.
* server.c (server_loop): Let a void address for the activity slot
imply the caller's current activity. Take two additional
arguments, a cap_addr_trans structure and a corresponding flags
argument. Pass them to thread_exregs.
* viengoos.c (system_task_load): Set THREAD_ACTIVITY. Don't call
thread_commission. Instead, call thread_exregs.
ruth/
2007-11-23 Neal H. Walfield <neal@gnu.org>
* ruth.c (main): Don't call rm_object_slot_copy_in to update the
address space slot. Just use rm_thread_exregs. Add test for
pthread library.
* ia32-cmain.c (cmain): If _pthread_init_routine is not NULL, call
it. Otherwise, just call finish directly.
Diffstat (limited to 'viengoos/thread.h')
-rw-r--r-- | viengoos/thread.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/viengoos/thread.h b/viengoos/thread.h index 4ccdd93..3fadcfc 100644 --- a/viengoos/thread.h +++ b/viengoos/thread.h @@ -94,7 +94,9 @@ extern void thread_decommission (struct thread *thread); not set the pager. */ extern error_t thread_exregs (struct activity *principal, struct thread *thread, l4_word_t control, - struct cap *aspace, struct cap *activity, + struct cap *aspace, + l4_word_t flags, struct cap_addr_trans addr_trans, + struct cap *activity, l4_word_t *sp, l4_word_t *ip, l4_word_t *eflags, l4_word_t *user_handle, struct cap *aspace_out, |