svn commit: r283033 - head/sys/arm/arm
Ian Lepore
ian at FreeBSD.org
Sun May 17 17:03:38 UTC 2015
Author: ian
Date: Sun May 17 17:03:37 2015
New Revision: 283033
URL: https://svnweb.freebsd.org/changeset/base/283033
Log:
Do not set preload_addr_relocate for ARM. Apparently there was a time
when loader(8) passed physical addresses in loader metadata for arm, but
that is no longer true; all metadata has already been adjusted to vitual
addresses by loader.
I can't track down the exact revision in loader where a change from physical
to virtual metadata addresses happened. The code involved is very twisty
and complicated. I suspect the change was an unintended consequence of the
r247301, r247413, r248118 series of changes I made a couple years ago.
Modified:
head/sys/arm/arm/machdep.c
Modified: head/sys/arm/arm/machdep.c
==============================================================================
--- head/sys/arm/arm/machdep.c Sun May 17 16:27:06 2015 (r283032)
+++ head/sys/arm/arm/machdep.c Sun May 17 17:03:37 2015 (r283033)
@@ -1019,7 +1019,6 @@ freebsd_parse_boot_param(struct arm_boot
ksym_end = MD_FETCH(kmdp, MODINFOMD_ESYM, uintptr_t);
db_fetch_ksymtab(ksym_start, ksym_end);
#endif
- preload_addr_relocate = KERNVIRTADDR - abp->abp_physaddr;
return lastaddr;
}
#endif
More information about the svn-src-head
mailing list