Rework cpu_init_secondary() such that it can be used for both the initial
authorkettenis <kettenis@openbsd.org>
Mon, 30 Jan 2023 20:05:31 +0000 (20:05 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 30 Jan 2023 20:05:31 +0000 (20:05 +0000)
commit6c331581a9941b71d2349287c284825ca4035b39
treecf57419650c24c10ab7f706c0661108788d91821
parentb9802f885448033e47d369b8aad07b473e26b034
Rework cpu_init_secondary() such that it can be used for both the initial
powerup and for wakeup from deeper sleep states.

Adjust cpu_suspen_primary() to use pmap_extract() to find the physical
address of the entry point and struct cpu_info.

ok phessler@
sys/arch/arm64/arm64/cpu.c