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;
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to