Simplify early kernel bootstrap a bit more. Just map the entire 64MB memory
authorkettenis <kettenis@openbsd.org>
Fri, 9 Dec 2022 22:31:31 +0000 (22:31 +0000)
committerkettenis <kettenis@openbsd.org>
Fri, 9 Dec 2022 22:31:31 +0000 (22:31 +0000)
commita6c8f9465544d24334598cf827c022c26c07ce42
tree01a8928c374136350c8af2a755bf6e50de94c3e2
parentd3b875067173dc87057adb87cc1368b4db312d09
Simplify early kernel bootstrap a bit more.  Just map the entire 64MB memory
block that the bootloader allocates for us (minus the first 2MB).  This means
we can get rid of a bunch of code in pmap_bootstrap().  It also makes sure
that we don't accidentally enter mappings that cover secure memory just
beyond where the kernel was loaded.

ok patrick@
sys/arch/arm64/arm64/locore0.S
sys/arch/arm64/arm64/pmap.c