Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/pmap redo the previous in a different way; use vm_ma...
details: https://anonhg.NetBSD.org/src/rev/883af715bb6f
branches: trunk
changeset: 552070:883af715bb6f
user: yamt <yamt%NetBSD.org@localhost>
date: Wed Sep 17 22:06:50 2003 +0000
description:
redo the previous in a different way; use vm_map_min/max macros.
diffstat:
usr.bin/pmap/main.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (31 lines):
diff -r 7526cc8c10d3 -r 883af715bb6f usr.bin/pmap/main.c
--- a/usr.bin/pmap/main.c Wed Sep 17 21:59:52 2003 +0000
+++ b/usr.bin/pmap/main.c Wed Sep 17 22:06:50 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: main.c,v 1.12 2003/09/17 21:59:52 yamt Exp $ */
+/* $NetBSD: main.c,v 1.13 2003/09/17 22:06:50 yamt Exp $ */
/*
* Copyright (c) 2002, 2003 The NetBSD Foundation, Inc.
@@ -38,7 +38,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: main.c,v 1.12 2003/09/17 21:59:52 yamt Exp $");
+__RCSID("$NetBSD: main.c,v 1.13 2003/09/17 22:06:50 yamt Exp $");
#endif
#include <sys/param.h>
@@ -446,10 +446,10 @@
/* we have entries, so there must be referential integrity */
if (D(vm_map_entry, vm_map_entry)->prev == P(header) &&
- D(header, vm_map_entry)->end <=
+ vm_map_min(D(vm_map, vm_map)) <=
D(vm_map_entry, vm_map_entry)->start &&
D(vm_map_entry, vm_map_entry)->end <=
- D(header, vm_map_entry)->start)
+ vm_map_max(D(vm_map, vm_map)))
return (0);
}
Home |
Main Index |
Thread Index |
Old Index