diff options
author | Neal H. Walfield <neal@gnu.org> | 2008-12-18 10:48:24 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@gnu.org> | 2008-12-18 10:48:24 +0100 |
commit | 61ce081e93aaf465a31beb41dd4094575cfbb19f (patch) | |
tree | 5570a5239f5adb8f5bd852f902fe3d4ca481d41c /hieronymus | |
parent | 87bfe7ed7bbe4dd4350f420cc9649809bef6d5a4 (diff) |
Add vg_ prefix to the (hopefully) remaining viengoos symbols.
2008-12-18 Neal H. Walfield <neal@gnu.org>
* viengoos/activity.h (struct activity_memory_policy): Rename from
this...
(struct vg_activity_memory_policy): ... to this. Update users.
(struct activity_policy): Rename from this...
(struct vg_activity_policy): ... to this. Update users.
(ACTIVITY_STATS_PERIODS): Rename from this...
(VG_ACTIVITY_STATS_PERIODS): ... to this. Update users.
(struct activity_stats): Rename from this...
(struct vg_activity_stats): ... to this. Update users.
(struct activity_info): Rename from this...
(struct vg_activity_info): ... to this. Update users.
* viengoos/addr.h (struct addr): Rename from this...
(struct vg_addr): ... to this. Update users.
* viengoos/cap.h (struct object_policy): Rename from this...
(struct vg_object_policy): ... to this. Update users.
(struct object_name): Rename from this...
(struct vg_object_name): ... to this. Update users.
(struct object): Rename from this...
(struct vg_object): ... to this. Update users.
* viengoos/folio.h (struct folio_policy): Rename from this...
(struct vg_folio_policy): ... to this. Update users.
(struct folio): Rename for this...
(struct vg_folio): ... to this. Update users.
* viengoos/thread.h
(HURD_EXREGS_SET_UTCB): Rename from this...
(VG_EXREGS_SET_UTCB): ... to this. Update users.
(HURD_EXREGS_SET_EXCEPTION_MESSENGER): Rename from this...
(VG_EXREGS_SET_EXCEPTION_MESSENGER): ... to this. Update users.
(HURD_EXREGS_SET_ASPACE): Rename from this...
(VG_EXREGS_SET_ASPACE): ... to this. Update users.
(HURD_EXREGS_SET_ACTIVITY): Rename from this...
(VG_EXREGS_SET_ACTIVITY): ... to this. Update users.
(HURD_EXREGS_SET_SP): Rename from this...
(VG_EXREGS_SET_SP): ... to this. Update users.
(HURD_EXREGS_SET_IP): Rename from this...
(VG_EXREGS_SET_IP): ... to this. Update users.
(HURD_EXREGS_SET_SP_IP): Rename from this...
(VG_EXREGS_SET_SP_IP): ... to this. Update users.
(HURD_EXREGS_SET_EFLAGS): Rename from this...
(VG_EXREGS_SET_EFLAGS): ... to this. Update users.
(HURD_EXREGS_SET_USER_HANDLE): Rename from this...
(VG_EXREGS_SET_USER_HANDLE): ... to this. Update users.
(HURD_EXREGS_SET_REGS): Rename from this...
(VG_EXREGS_SET_REGS): ... to this. Update users.
(HURD_EXREGS_GET_REGS): Rename from this...
(VG_EXREGS_GET_REGS): ... to this. Update users.
(HURD_EXREGS_START): Rename from this...
(VG_EXREGS_START): ... to this. Update users.
(HURD_EXREGS_STOP): Rename from this...
(VG_EXREGS_STOP): ... to this. Update users.
(HURD_EXREGS_ABORT_SEND): Rename from this...
(VG_EXREGS_ABORT_SEND): ... to this. Update users.
(HURD_EXREGS_ABORT_RECEIVE): Rename from this...
(VG_EXREGS_ABORT_RECEIVE): ... to this. Update users.
(HURD_EXREGS_ABORT_IPC): Rename from this...
(VG_EXREGS_ABORT_IPC): ... to this. Update users.
(struct hurd_thread_exregs_in): Rename form this...
(struct vg_thread_exregs_in): ... to this. Update users.
(struct hurd_thread_exregs_out): Rename form this...
(struct vg_thread_exregs_out): ... to this. Update users.
(RPC_STUB_PREFIX): Define to vg_activation. Update users.
(RPC_ID_PREFIX): Define to VG_ACTIVATION. Update users.
(ACTIVATION_fault): Rename from this...
(VG_ACTIVATION_fault): ... to this. Update users.
Diffstat (limited to 'hieronymus')
-rw-r--r-- | hieronymus/hieronymus.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/hieronymus/hieronymus.c b/hieronymus/hieronymus.c index 5a4a3f5..4a7190e 100644 --- a/hieronymus/hieronymus.c +++ b/hieronymus/hieronymus.c @@ -63,7 +63,7 @@ extern struct hurd_startup_data *__hurd_startup_data; /* Allocate a new activity out of our storage. */ static struct storage -activity_alloc (struct activity_policy policy) +activity_alloc (struct vg_activity_policy policy) { struct storage storage = storage_alloc (root_activity, vg_cap_activity_control, STORAGE_LONG_LIVED, @@ -71,7 +71,7 @@ activity_alloc (struct activity_policy policy) if (! storage.cap) panic ("Failed to allocate storage."); - struct activity_policy out; + struct vg_activity_policy out; error_t err = vg_activity_policy (VG_ADDR_VOID, storage.addr, VG_ACTIVITY_POLICY_STORAGE_SET | VG_ACTIVITY_POLICY_CHILD_REL_SET @@ -115,7 +115,7 @@ do_gather_stats (void *arg) while (! all_done) { - struct activity_info info; + struct vg_activity_info info; if (size == stats_count) { @@ -137,10 +137,10 @@ do_gather_stats (void *arg) for (i = 0; i < module_count; i ++, stat ++) { error_t err; - err = vg_activity_info (VG_ADDR_VOID, activities[i], activity_info_stats, + err = vg_activity_info (VG_ADDR_VOID, activities[i], vg_activity_info_stats, period, &info); assert_perror (err); - assert (info.event == activity_info_stats); + assert (info.event == vg_activity_info_stats); assert (info.stats.count > 0); if (err) { @@ -184,13 +184,13 @@ main (int argc, char *argv[]) int i; for (i = 0; i < module_count; i ++) { - struct activity_memory_policy sibling_policy + struct vg_activity_memory_policy sibling_policy = VG_ACTIVITY_MEMORY_POLICY (modules[i].priority, modules[i].weight); - struct activity_policy policy + struct vg_activity_policy policy = VG_ACTIVITY_POLICY (sibling_policy, VG_ACTIVITY_MEMORY_POLICY_VOID, 0); activities[i] = activity_alloc (policy).addr; - struct object_name name; + struct vg_object_name name; strncpy (&name.name[0], modules[i].name, sizeof (name.name)); vg_object_name (VG_ADDR_VOID, activities[i], name); } |