]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
powerpc/booke: Change KERNBASE to be physical load address
authorJustin Hibbits <jhibbits@FreeBSD.org>
Thu, 13 Dec 2018 05:07:39 +0000 (05:07 +0000)
committerJustin Hibbits <jhibbits@FreeBSD.org>
Thu, 13 Dec 2018 05:07:39 +0000 (05:07 +0000)
commit45b33e809f5a1ea76b98b0dcc344a1fb36b78b52
tree6b293af72e392fb6058059fe940bc528e0a3dc6d
parent3067a880cefca99d57310fbd11964081e516ea2c
powerpc/booke: Change KERNBASE to be physical load address

Previous commits have made VM_MIN_KERNEL_ADDRESS its own separate entity,
and rebased the kernel around that address instead of KERNBASE.  This commit
pulls the trigger to rebase KERNBASE to a physical load address.  The
eventual goal is to align the address with the AIM KERNBASE, but at this
time that's not an option.

Currently a Book-E kernel must be loaded on a 64MB boundary, due to size
issues.  The common load address is at the 64MB mark (0x04000000), so simply
make that the default KERNBASE.

As of this commit, Book-E kernels can be loaded and booted with ubldr.

MFC after: 3 weeks
sys/powerpc/include/vmparam.h