Move some code back from locore0.S to locore.S that we will need to bring up
authorkettenis <kettenis@openbsd.org>
Sun, 21 Jan 2018 22:30:41 +0000 (22:30 +0000)
committerkettenis <kettenis@openbsd.org>
Sun, 21 Jan 2018 22:30:41 +0000 (22:30 +0000)
commit8a5963c2aac7fc51f6e7f04dabc48451f92f6248
tree318f8703f11f9a75365445a8e082375cf9d221de
parenta30f7a9e94849b1631dd36f5f71d1b559399f2c1
Move some code back from locore0.S to locore.S that we will need to bring up
secondary CPUs.  This involves adjusting get_virt_delta() to account for the
fact that it may no longer live near the start of kernel code.  Heavily based
on a diff from drahn@.

ok patrick@, deraadt@
sys/arch/arm64/arm64/locore.S
sys/arch/arm64/arm64/locore0.S