artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c896b95
)
comment out bounds check, ncr card on G4 is triggering it, replaced
author
rahnds
<rahnds@openbsd.org>
Thu, 23 Mar 2000 04:01:55 +0000
(
04:01
+0000)
committer
rahnds
<rahnds@openbsd.org>
Thu, 23 Mar 2000 04:01:55 +0000
(
04:01
+0000)
with a debug printf.
sys/arch/powerpc/powerpc/machdep.c
patch
|
blob
|
history
diff --git
a/sys/arch/powerpc/powerpc/machdep.c
b/sys/arch/powerpc/powerpc/machdep.c
index
9588a2c
..
50d6b0c
100644
(file)
--- a/
sys/arch/powerpc/powerpc/machdep.c
+++ b/
sys/arch/powerpc/powerpc/machdep.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: machdep.c,v 1.3
4 2000/03/20 07:05:52
rahnds Exp $ */
+/* $OpenBSD: machdep.c,v 1.3
5 2000/03/23 04:01:55
rahnds Exp $ */
/* $NetBSD: machdep.c,v 1.4 1996/10/16 19:33:11 ws Exp $ */
/*
@@
-1129,9
+1129,13
@@
bus_mem_add_mapping(bpa, size, cacheable, bshp)
off = bpa - spa;
len = size+off;
+printf("mem_add_mapping bpa %x size %x, spa %x epa %x\n",
+ bpa, size, spa, epa);
+#if 0
if (epa <= spa) {
panic("bus_mem_add_mapping: overflow");
}
+#endif
if (ppc_malloc_ok == 0) {
bus_size_t alloc_size;