diff options
author | Neal H. Walfield <neal@gnu.org> | 2008-12-17 20:03:35 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@gnu.org> | 2008-12-17 20:03:35 +0100 |
commit | df03a0063711a96039f8799fdf3987e6be728644 (patch) | |
tree | 505d18c0057bbcb5486d0ee0d179662d20b08e23 /libpthread | |
parent | 4ef4096e11ad305d27b4f286098f392cc6be265a (diff) |
Replace RPC rm prefix with vg.
2008-12-17 Neal H. Walfield <neal@gnu.org>
* viengoos/activity.h (RM_activity_policy): Rename from this...
(VG_activity_policy): ... to this. Update users.
(RM_activity_info): Rename from this...
(VG_activity_info): ... to this. Update users.
(RPC_STUB_PREFIX): Define to vg.
(RPC_ID_PREFIX): Define to VG.
* viengoos/cap.h
(RM_cap_copy): Rename from this...
(VG_cap_copy): ... to this. Update users.
(RM_cap_rubout): Rename from this...
(VG_cap_rubout): ... to this. Update users.
(RM_cap_read): Rename from this...
(VG_cap_read): ... to this. Update users.
(RM_object_discarded_clear): Rename from this...
(VG_object_discarded_clear): ... to this. Update users.
(RM_object_discard): Rename from this...
(VG_object_discard): ... to this. Update users.
(RM_object_status): Rename from this...
(VG_object_status): ... to this. Update users.
(RM_object_reply_on_destruction): Rename from this...
(VG_object_reply_on_destruction): ... to this. Update users.
(RM_object_name): Rename from this...
(VG_object_name): ... to this. Update users.
(RPC_STUB_PREFIX): Define to vg.
(RPC_ID_PREFIX): Define to VG.
* viengoos/folio.h (RM_folio_alloc): Rename from this...
(VG_folio_alloc): ... to this. Update users.
(RM_folio_free): Rename from this...
(Vg_folio_free): ... to this. Update users.
(RM_folio_object_alloc): Rename from this...
(VG_folio_object_alloc): ... to this. Update users.
(RM_folio_policy): Rename from this...
(VG_folio_policy): ... to this. Update users.
(RPC_STUB_PREFIX): Define to vg.
(RPC_ID_PREFIX): Define to VG.
* viengoos/futex.h (RM_futex): Rename from this...
(VG_futex): ... to this. Update users.
(RPC_STUB_PREFIX): Define to vg.
(RPC_ID_PREFIX): Define to VG.
* viengoos/misc.h (RM_write): Rename from this...
(VG_write): ... to this. Update users.
(RM_read): Rename from this...
(VG_read): ... to this. Update users.
(RM_as_dump): Rename from this...
(VG_as_dump): ... to this. Update users.
(RM_fault): Rename from this...
(VG_fault): ... to this. Update users.
(RPC_STUB_PREFIX): Define to vg.
(RPC_ID_PREFIX): Define to VG.
* viengoos/thread.h (RM_thread_exregs): Rename from this...
(RM_thread_exregs): ... to this. Update users.
(RM_thread_id): Rename from this...
(RM_thread_id): ... to this. Update users.
(RM_thread_activation_collect): Rename from this...
(RM_thread_activation_collect): ... to this. Update users.
(RPC_STUB_PREFIX): Define to vg.
(RPC_ID_PREFIX): Define to VG.
Diffstat (limited to 'libpthread')
4 files changed, 5 insertions, 5 deletions
diff --git a/libpthread/sysdeps/viengoos/ia32/signal-dispatch-lowlevel.c b/libpthread/sysdeps/viengoos/ia32/signal-dispatch-lowlevel.c index bbb4ae4..5777bb4 100644 --- a/libpthread/sysdeps/viengoos/ia32/signal-dispatch-lowlevel.c +++ b/libpthread/sysdeps/viengoos/ia32/signal-dispatch-lowlevel.c @@ -125,7 +125,7 @@ signal_dispatch_lowlevel (struct signal_state *ss, pthread_t tid, struct hurd_thread_exregs_out out; error_t err; - err = rm_thread_exregs (VG_ADDR_VOID, thread->object, + err = vg_thread_exregs (VG_ADDR_VOID, thread->object, HURD_EXREGS_STOP | HURD_EXREGS_ABORT_IPC | HURD_EXREGS_GET_REGS, in, VG_ADDR_VOID, VG_ADDR_VOID, VG_ADDR_VOID, VG_ADDR_VOID, @@ -207,7 +207,7 @@ signal_dispatch_lowlevel (struct signal_state *ss, pthread_t tid, in.sp = sp; in.ip = (uintptr_t) &_signal_dispatch_entry; - rm_thread_exregs (VG_ADDR_VOID, thread->object, + vg_thread_exregs (VG_ADDR_VOID, thread->object, HURD_EXREGS_SET_SP_IP | HURD_EXREGS_START | HURD_EXREGS_ABORT_IPC, in, VG_ADDR_VOID, VG_ADDR_VOID, VG_ADDR_VOID, VG_ADDR_VOID, diff --git a/libpthread/sysdeps/viengoos/pt-setactivity-np.c b/libpthread/sysdeps/viengoos/pt-setactivity-np.c index 5894ad7..f5ba400 100644 --- a/libpthread/sysdeps/viengoos/pt-setactivity-np.c +++ b/libpthread/sysdeps/viengoos/pt-setactivity-np.c @@ -29,7 +29,7 @@ pthread_setactivity_np (vg_addr_t activity) struct hurd_thread_exregs_in in; struct hurd_thread_exregs_out out; - int err = rm_thread_exregs (VG_ADDR_VOID, self->object, + int err = vg_thread_exregs (VG_ADDR_VOID, self->object, HURD_EXREGS_SET_ACTIVITY, in, VG_ADDR_VOID, activity, VG_ADDR_VOID, VG_ADDR_VOID, &out, NULL, NULL, NULL, NULL); diff --git a/libpthread/sysdeps/viengoos/pt-thread-alloc.c b/libpthread/sysdeps/viengoos/pt-thread-alloc.c index a65024f..8b46e97 100644 --- a/libpthread/sysdeps/viengoos/pt-thread-alloc.c +++ b/libpthread/sysdeps/viengoos/pt-thread-alloc.c @@ -75,7 +75,7 @@ __pthread_thread_alloc (struct __pthread *thread) if (unlikely (err)) panic ("Failed to initialize thread's activation state: %d", err); - err = rm_cap_copy (VG_ADDR_VOID, + err = vg_cap_copy (VG_ADDR_VOID, thread->lock_message_buffer->receiver, VG_ADDR (VG_MESSENGER_THREAD_SLOT, VG_MESSENGER_SLOTS_LOG2), diff --git a/libpthread/sysdeps/viengoos/pt-thread-start.c b/libpthread/sysdeps/viengoos/pt-thread-start.c index 1b341cb..59583b4 100644 --- a/libpthread/sysdeps/viengoos/pt-thread-start.c +++ b/libpthread/sysdeps/viengoos/pt-thread-start.c @@ -50,7 +50,7 @@ __pthread_thread_start (struct __pthread *thread) in.ip = (l4_word_t) thread->mcontext.pc; in.user_handle = (l4_word_t) thread; - err = rm_thread_exregs (VG_ADDR_VOID, thread->object, + err = vg_thread_exregs (VG_ADDR_VOID, thread->object, HURD_EXREGS_SET_ASPACE | HURD_EXREGS_SET_ACTIVITY | HURD_EXREGS_SET_SP_IP |