]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
powerpc/booke: Change KERNBASE to be physical load address
authorjhibbits <jhibbits@FreeBSD.org>
Thu, 13 Dec 2018 05:07:39 +0000 (05:07 +0000)
committerjhibbits <jhibbits@FreeBSD.org>
Thu, 13 Dec 2018 05:07:39 +0000 (05:07 +0000)
commit9df2142898bf6828b91928873f7a68e6f98c5661
tree6b293af72e392fb6058059fe940bc528e0a3dc6d
parentb7802808dcef7bd52f0106401133e6cd4cd6085b
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