summaryrefslogtreecommitdiff
path: root/sys/arch
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2002-02-22 20:21:47 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2002-02-22 20:21:47 +0000
commit9a9927ee9f9a9d779946047df6ac9fd40ab0dd92 (patch)
tree8b42da77ce0ab2599d37c3c6ff362c9f293ff4ec /sys/arch
parent5a29bdc1be02dab7dd8662e3901f1cad8f0b7c39 (diff)
Debugger() is #ifdef DDB
Diffstat (limited to 'sys/arch')
-rw-r--r--sys/arch/sparc64/dev/iommu.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/arch/sparc64/dev/iommu.c b/sys/arch/sparc64/dev/iommu.c
index d1d3cf08474..23944dbb371 100644
--- a/sys/arch/sparc64/dev/iommu.c
+++ b/sys/arch/sparc64/dev/iommu.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iommu.c,v 1.9 2002/02/22 19:35:02 jason Exp $ */
+/* $OpenBSD: iommu.c,v 1.10 2002/02/22 20:21:46 deraadt Exp $ */
/* $NetBSD: iommu.c,v 1.47 2002/02/08 20:03:45 eeh Exp $ */
/*
@@ -596,7 +596,9 @@ iommu_dvmamap_load(t, is, map, buf, buflen, p, flags)
printf("seg %d dvmaddr %lx out of range %x - %x\n",
seg, (long)map->dm_segs[seg].ds_addr,
is->is_dvmabase, is->is_dvmaend);
+#ifdef DDB
Debugger();
+#endif
}
}
#endif
@@ -854,7 +856,9 @@ printf("appending offset %x pa %lx, prev %lx dva %lx prev %lx\n",
printf("seg %d dvmaddr %lx out of range %x - %x\n",
seg, (long)map->dm_segs[seg].ds_addr,
is->is_dvmabase, is->is_dvmaend);
+#ifdef DDB
Debugger();
+#endif
}
}
}
@@ -920,7 +924,9 @@ printf("appending offset %x pa %lx, prev %lx dva %lx prev %lx\n",
printf("seg %d dvmaddr %lx out of range %x - %x\n",
seg, (long)map->dm_segs[seg].ds_addr,
is->is_dvmabase, is->is_dvmaend);
+#ifdef DDB
Debugger();
+#endif
}
}
}