Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Jan 2018 02:52:12 +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: r328269 - head/sys/powerpc/include
Message-ID:  <201801230252.w0N2qCHK091841@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201801230252.w0N2qCHK091841>