diff options
author | Neal H. Walfield <neal@gnu.org> | 2008-12-17 18:45:14 +0100 |
---|---|---|
committer | Neal H. Walfield <neal@gnu.org> | 2008-12-17 18:45:14 +0100 |
commit | 4b34130b861911b2fbc62e706239d55ce817d203 (patch) | |
tree | 0fb7f4a87b0813e7884b86b7a0a7390265083a2d /libc-parts/_exit.c | |
parent | a7416b7c63f4954ff78eecf31e5146cb86cda6a6 (diff) |
Add a "vg_" to public viengoos identifiers.
2008-12-17 Neal H. Walfield <neal@gnu.org>
* viengoos/activity.h: Add a "vg_" to public viengoos identifiers.
Update users.
* viengoos/addr-trans.h: Likewise.
* viengoos/addr.h: Likewise.
* viengoos/cap.h: Likewise.
* viengoos/folio.h: Likewise.
* viengoos/futex.h: Likewise.
* viengoos/rpc.h: Likewise.
* viengoos/thread.h: Likewise.
Diffstat (limited to 'libc-parts/_exit.c')
-rw-r--r-- | libc-parts/_exit.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libc-parts/_exit.c b/libc-parts/_exit.c index 47ff758..bda719f 100644 --- a/libc-parts/_exit.c +++ b/libc-parts/_exit.c @@ -40,7 +40,7 @@ _exit (int ret) /* We try to kill the activity and, if that fails, the main thread. */ - addr_t objs[] = { __hurd_startup_data->activity, + vg_addr_t objs[] = { __hurd_startup_data->activity, __hurd_startup_data->thread }; int o; @@ -50,19 +50,19 @@ _exit (int ret) for (i = 0; i < __hurd_startup_data->desc_count; i ++) { struct hurd_object_desc *desc = &__hurd_startup_data->descs[i]; - if (ADDR_EQ (desc->object, objs[o])) + if (VG_ADDR_EQ (desc->object, objs[o])) { - if (ADDR_IS_VOID (desc->storage)) + if (VG_ADDR_IS_VOID (desc->storage)) /* We don't own the storage and thus can't deallocate the object. */ continue; - addr_t folio = addr_chop (desc->storage, FOLIO_OBJECTS_LOG2); - int index = addr_extract (desc->storage, FOLIO_OBJECTS_LOG2); + vg_addr_t folio = vg_addr_chop (desc->storage, VG_FOLIO_OBJECTS_LOG2); + int index = vg_addr_extract (desc->storage, VG_FOLIO_OBJECTS_LOG2); error_t err; - err = rm_folio_object_alloc (ADDR_VOID, folio, index, - cap_void, OBJECT_POLICY_VOID, + err = rm_folio_object_alloc (VG_ADDR_VOID, folio, index, + vg_cap_void, VG_OBJECT_POLICY_VOID, (uintptr_t) ret, NULL, NULL); if (err) |