diff options
author | mp <mp@FreeBSD.org> | 2001-10-12 19:55:04 +0000 |
---|---|---|
committer | mp <mp@FreeBSD.org> | 2001-10-12 19:55:04 +0000 |
commit | 4f67e60c0d76226e154226ab523b33282d0ac23e (patch) | |
tree | a930207cec2202a7323af43d43d1d12f6ca4ff2a /sys/powerpc | |
parent | 6751812d0b9423fe8a8a4bc8763fcb8dbb6e0204 (diff) | |
download | FreeBSD-src-4f67e60c0d76226e154226ab523b33282d0ac23e.zip FreeBSD-src-4f67e60c0d76226e154226ab523b33282d0ac23e.tar.gz |
Modify a virtual address check to allow use of the openfirmware callback
used by the PowerPC simulator (PSIM).
Diffstat (limited to 'sys/powerpc')
-rw-r--r-- | sys/powerpc/aim/machdep.c | 2 | ||||
-rw-r--r-- | sys/powerpc/powerpc/machdep.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/powerpc/aim/machdep.c b/sys/powerpc/aim/machdep.c index d55b35a..5738bc5 100644 --- a/sys/powerpc/aim/machdep.c +++ b/sys/powerpc/aim/machdep.c @@ -643,7 +643,7 @@ restore_ofw_mapping() vm_offset_t va = ofw_mapping[i].va; int size = ofw_mapping[i].len; - if (va < 0x90000000) /* XXX */ + if (va < 0x80000000) /* XXX */ continue; while (size > 0) { diff --git a/sys/powerpc/powerpc/machdep.c b/sys/powerpc/powerpc/machdep.c index d55b35a..5738bc5 100644 --- a/sys/powerpc/powerpc/machdep.c +++ b/sys/powerpc/powerpc/machdep.c @@ -643,7 +643,7 @@ restore_ofw_mapping() vm_offset_t va = ofw_mapping[i].va; int size = ofw_mapping[i].len; - if (va < 0x90000000) /* XXX */ + if (va < 0x80000000) /* XXX */ continue; while (size > 0) { |