summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--vm/vm_debug.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vm/vm_debug.c b/vm/vm_debug.c
index 43221cff..2dff2296 100644
--- a/vm/vm_debug.c
+++ b/vm/vm_debug.c
@@ -321,6 +321,8 @@ mach_vm_object_pages(
vm_page_info_state_t state = 0;
info->vpi_offset = p->offset;
+ if (p->phys_addr != (typeof(info->vpi_phys_addr)) p->phys_addr)
+ printf("warning: physical address overflow in mach_vm_object_pages!!");
info->vpi_phys_addr = p->phys_addr;
info->vpi_wire_count = p->wire_count;
info->vpi_page_lock = p->page_lock;