]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
[PowerPC] Set fixed boot1.elf load address
authorBrandon Bergren <bdragon@FreeBSD.org>
Fri, 1 May 2020 16:56:36 +0000 (16:56 +0000)
committerBrandon Bergren <bdragon@FreeBSD.org>
Fri, 1 May 2020 16:56:36 +0000 (16:56 +0000)
commita10ed08fe00fba7f96e8c95e84ede42735bb5801
tree545fe8188d03077635451971c4ac0268d73d752a
parent892df83817f7ddbed45b5b32269800e0c487413a
[PowerPC] Set fixed boot1.elf load address

Due to the way claiming works, we need to ensure on AIM OFW machines that
we don't have overlapping ranges on any step of the load.

Load boot1.elf at 0x38000 so it will not overlap with anything even if the
entire PReP partition gets loaded by OFW.

Tested on an iBook G4, a PowerBook G4, a PowerMac G5, and qemu pseries.
(qemu pseries is broken without this patch due to the high address used
by lld10.)

Reviewed by: adalava
Sponsored by: Tag1 Consulting, Inc.
Differential Revision: https://reviews.freebsd.org/D24623
stand/powerpc/boot1.chrp/Makefile