]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Use the cookie now set by loader to determine whether the value passed to
authornwhitehorn <nwhitehorn@FreeBSD.org>
Sun, 26 Nov 2017 03:53:20 +0000 (03:53 +0000)
committernwhitehorn <nwhitehorn@FreeBSD.org>
Sun, 26 Nov 2017 03:53:20 +0000 (03:53 +0000)
commit095d277cd8b47427565b80534f4aea2902227550
tree35c9401526c2428e8c67555f75c9a9eb4c6bebef
parent260ba0bff18bb32b01216d6870c8273cf22246a7
Use the cookie now set by loader to determine whether the value passed to
PowerPC kernels in r6 is actually metadata from loader(8) or gibberish
left in r6, which is not required to be anything under the
PAPR/ePAPR/CHRP/OF standards, by another boot loader.

Note that, as a result, systems need a new boot loader to boot PPC kernels
after this revision without ending up at a mountroot prompt. New boot
loaders are backwards compatible and can boot older kernels.

Reviewed by: jhibbits
MFC after: 2 months
UPDATING
sys/powerpc/aim/locore32.S
sys/powerpc/aim/locore64.S
sys/powerpc/booke/booke_machdep.c
sys/powerpc/powerpc/machdep.c