1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-14 10:09:48 +00:00

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.
This commit is contained in:
Ian Lepore 2015-05-17 17:03:37 +00:00
parent 5b3a5f8343
commit afd1f4a7e3
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=283033

View File

@ -1019,7 +1019,6 @@ freebsd_parse_boot_param(struct arm_boot_params *abp)
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