Date: Tue, 4 Dec 2018 03:51:10 +0000 (UTC) From: Justin Hibbits <jhibbits@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r341454 - head/sys/powerpc/booke Message-ID: <201812040351.wB43pAVv029524@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhibbits Date: Tue Dec 4 03:51:10 2018 New Revision: 341454 URL: https://svnweb.freebsd.org/changeset/base/341454 Log: powerpc: preload_addr_relocate is no longer necessary for booke The same behavior was moved to machdep.c, paired with AIM's relocation, making this redundant. With this, it's now possible to boot FreeBSD with ubldr on a uboot Book-E platform, even with a KERNBASE != VM_MIN_KERNEL_ADDRESS. Modified: head/sys/powerpc/booke/pmap.c Modified: head/sys/powerpc/booke/pmap.c ============================================================================== --- head/sys/powerpc/booke/pmap.c Tue Dec 4 03:23:14 2018 (r341453) +++ head/sys/powerpc/booke/pmap.c Tue Dec 4 03:51:10 2018 (r341454) @@ -1753,13 +1753,6 @@ mmu_booke_bootstrap(mmu_t mmu, vm_offset_t start, vm_o data_start = round_page(kernelend); data_end = data_start; - /* - * Addresses of preloaded modules (like file systems) use - * physical addresses. Make sure we relocate those into - * virtual addresses. - */ - preload_addr_relocate = kernstart - kernload; - /* Allocate the dynamic per-cpu area. */ dpcpu = (void *)data_end; data_end += DPCPU_SIZE;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812040351.wB43pAVv029524>