summaryrefslogtreecommitdiff
path: root/hieronymus/hieronymus.c
diff options
context:
space:
mode:
authorNeal H. Walfield <neal@gnu.org>2008-12-17 20:03:35 +0100
committerNeal H. Walfield <neal@gnu.org>2008-12-17 20:03:35 +0100
commitdf03a0063711a96039f8799fdf3987e6be728644 (patch)
tree505d18c0057bbcb5486d0ee0d179662d20b08e23 /hieronymus/hieronymus.c
parent4ef4096e11ad305d27b4f286098f392cc6be265a (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 'hieronymus/hieronymus.c')
-rw-r--r--hieronymus/hieronymus.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/hieronymus/hieronymus.c b/hieronymus/hieronymus.c
index 06534a2..5a4a3f5 100644
--- a/hieronymus/hieronymus.c
+++ b/hieronymus/hieronymus.c
@@ -72,7 +72,7 @@ activity_alloc (struct activity_policy policy)
panic ("Failed to allocate storage.");
struct activity_policy out;
- error_t err = rm_activity_policy (VG_ADDR_VOID, storage.addr,
+ error_t err = vg_activity_policy (VG_ADDR_VOID, storage.addr,
VG_ACTIVITY_POLICY_STORAGE_SET
| VG_ACTIVITY_POLICY_CHILD_REL_SET
| VG_ACTIVITY_POLICY_SIBLING_REL_SET,
@@ -137,7 +137,7 @@ do_gather_stats (void *arg)
for (i = 0; i < module_count; i ++, stat ++)
{
error_t err;
- err = rm_activity_info (VG_ADDR_VOID, activities[i], activity_info_stats,
+ err = vg_activity_info (VG_ADDR_VOID, activities[i], activity_info_stats,
period, &info);
assert_perror (err);
assert (info.event == activity_info_stats);
@@ -192,7 +192,7 @@ main (int argc, char *argv[])
struct object_name name;
strncpy (&name.name[0], modules[i].name, sizeof (name.name));
- rm_object_name (VG_ADDR_VOID, activities[i], name);
+ vg_object_name (VG_ADDR_VOID, activities[i], name);
}
bool gather_stats = false;
@@ -336,14 +336,14 @@ main (int argc, char *argv[])
for (i = 0; i < module_count; i ++)
{
uintptr_t rt = -1;
- rm_object_reply_on_destruction (root_activity,
+ vg_object_reply_on_destruction (root_activity,
thread[i], &rt);
vg_addr_t folio = vg_addr_chop (activities[i], VG_FOLIO_OBJECTS_LOG2);
int index = vg_addr_extract (activities[i], VG_FOLIO_OBJECTS_LOG2);
error_t err;
- err = rm_folio_object_alloc (VG_ADDR_VOID, folio, index,
+ err = vg_folio_object_alloc (VG_ADDR_VOID, folio, index,
vg_cap_void, VG_OBJECT_POLICY_VOID,
(uintptr_t) rt,
NULL, NULL);