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 /viengoos/pager.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 'viengoos/pager.c')
-rw-r--r-- | viengoos/pager.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/viengoos/pager.c b/viengoos/pager.c index 8b3b038..28bb76a 100644 --- a/viengoos/pager.c +++ b/viengoos/pager.c @@ -37,8 +37,8 @@ is_clean (struct object_desc *desc) l4_fpage_t result = l4_unmap_fpage (l4_fpage ((l4_word_t) object, PAGESIZE)); assertx (! l4_was_written (result) && ! l4_was_referenced (result), - "The %s " OID_FMT "(at %p) has status bits set (%s %s)", - cap_type_string (desc->type), OID_PRINTF (desc->oid), object, + "The %s " VG_OID_FMT "(at %p) has status bits set (%s %s)", + vg_cap_type_string (desc->type), VG_OID_PRINTF (desc->oid), object, l4_was_written (result) ? "dirty" : "", l4_was_referenced (result) ? "refed" : ""); @@ -55,8 +55,8 @@ is_clean (struct object_desc *desc) clean = false; } assertx (clean, - "The %s " OID_FMT "(at %p) is dirty!", - cap_type_string (desc->type), OID_PRINTF (desc->oid), + "The %s " VG_OID_FMT "(at %p) is dirty!", + vg_cap_type_string (desc->type), VG_OID_PRINTF (desc->oid), object); } #endif @@ -79,7 +79,7 @@ reclaim_from (struct activity *victim, int goal) int active = 0; int inactive = 0; - for (i = OBJECT_PRIORITY_MIN; i <= OBJECT_PRIORITY_MAX; i ++) + for (i = VG_OBJECT_PRIORITY_MIN; i <= VG_OBJECT_PRIORITY_MAX; i ++) { active += activity_list_count (&victim->frames[i].active); inactive += activity_list_count (&victim->frames[i].inactive); @@ -98,7 +98,7 @@ reclaim_from (struct activity *victim, int goal) victim->frames_local, available_list_count (&available), laundry_list_count (&laundry)); - for (i = OBJECT_PRIORITY_MIN; i <= OBJECT_PRIORITY_MAX; i ++) + for (i = VG_OBJECT_PRIORITY_MIN; i <= VG_OBJECT_PRIORITY_MAX; i ++) { int s = count; @@ -207,7 +207,7 @@ reclaim_from (struct activity *victim, int goal) active = 0; inactive = 0; - for (i = OBJECT_PRIORITY_MIN; i <= OBJECT_PRIORITY_MAX; i ++) + for (i = VG_OBJECT_PRIORITY_MIN; i <= VG_OBJECT_PRIORITY_MAX; i ++) { active += activity_list_count (&victim->frames[i].active); inactive += activity_list_count (&victim->frames[i].inactive); |