Author: jhibbits
Date: Tue Jan 23 02:52:12 2018
New Revision: 328269
URL: https://svnweb.freebsd.org/changeset/base/328269

Log:
  Fix 64-bit booke kernel builds after the ldscript changes
  
  Commits r326203 and r326978 broke 64-bit booke kernels by introducing a 1MB
  zero-pad between the ELF header and the start of the kernel.  This didn't
  cause a build failure, but caused kernels to need to be loaded into memory
  1MB lower, which could easily break scripts expecting previous behavior.
  This change matches the similar change made to AIM in r327358.

Modified:
  head/sys/powerpc/include/vmparam.h

Modified: head/sys/powerpc/include/vmparam.h
==============================================================================
--- head/sys/powerpc/include/vmparam.h  Tue Jan 23 02:29:39 2018        
(r328268)
+++ head/sys/powerpc/include/vmparam.h  Tue Jan 23 02:52:12 2018        
(r328269)
@@ -134,9 +134,9 @@
 
 #ifdef __powerpc64__
 #ifndef LOCORE
-#define        KERNBASE        0xc000000000000000UL    /* start of kernel 
virtual */
+#define        KERNBASE        0xc000000000000100UL    /* start of kernel 
virtual */
 #else
-#define        KERNBASE        0xc000000000000000      /* start of kernel 
virtual */
+#define        KERNBASE        0xc000000000000100      /* start of kernel 
virtual */
 #endif
 #else
 #define        KERNBASE                0xc0000000      /* start of kernel 
virtual */
_______________________________________________
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