From df03a0063711a96039f8799fdf3987e6be728644 Mon Sep 17 00:00:00 2001 From: "Neal H. Walfield" Date: Wed, 17 Dec 2008 20:03:35 +0100 Subject: Replace RPC rm prefix with vg. 2008-12-17 Neal H. Walfield * 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. --- libc-parts/process-spawn.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libc-parts/process-spawn.c') diff --git a/libc-parts/process-spawn.c b/libc-parts/process-spawn.c index 23a44dc..68beb78 100644 --- a/libc-parts/process-spawn.c +++ b/libc-parts/process-spawn.c @@ -62,7 +62,7 @@ #ifdef RM_INTERN # define AS_DUMP_ as_dump_from (root_activity, as_root_cap, __func__) #else -# define AS_DUMP_ rm_as_dump (VG_ADDR_VOID, as_root) +# define AS_DUMP_ vg_as_dump (VG_ADDR_VOID, as_root) #endif #define AS_DUMP \ do \ @@ -367,7 +367,7 @@ process_spawn (vg_addr_t activity, as_ensure (folio_local_addr); - error_t err = rm_folio_alloc (activity, activity, + error_t err = vg_folio_alloc (activity, activity, VG_FOLIO_POLICY_DEFAULT, &folio_local_addr); if (err) @@ -421,7 +421,7 @@ process_spawn (vg_addr_t activity, vg_cap_type_strengthen (type), VG_OBJECT_POLICY_VOID, 0); #else - rm_folio_object_alloc (VG_ADDR_VOID, + vg_folio_object_alloc (VG_ADDR_VOID, folio_local_addr, index, vg_cap_type_strengthen (type), VG_OBJECT_POLICY_VOID, 0, NULL, NULL); @@ -768,7 +768,7 @@ process_spawn (vg_addr_t activity, error_t err; struct hurd_thread_exregs_out out; /* XXX: Use a weakened activity. */ - err = rm_thread_exregs (VG_ADDR_VOID, thread, + err = vg_thread_exregs (VG_ADDR_VOID, thread, HURD_EXREGS_SET_SP_IP | HURD_EXREGS_SET_ASPACE | HURD_EXREGS_SET_ACTIVITY -- cgit v1.2.3