HomeFreeBSD

Make mpentry independent of _start

Description

Make mpentry independent of _start

APs enter the kernel at the same point as the BSP, the _start routine.
They then jump to mpentry, but not before storing the kernel's physical
load address in the s9 register. Extract this calculation into its own
routine, so that APs can be instructed to enter directly from mpentry.

Differential Revision: https://reviews.freebsd.org/D24495

Details

Provenance
mhorneAuthored on
Differential Revision
D24495: Make mpentry independent of _start
Parents
rS360550: Add KASSERT to ensure sane nsid.
Branches
Unknown
Tags
Unknown