HomeFreeBSD

amd64: Set MSR_KGSBASE to 0 during AP startup

Description

amd64: Set MSR_KGSBASE to 0 during AP startup

There is no reason to initialize it to anything else, and this matches
initialization of the BSP. No functional change intended.

Reviewed by: kib
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D31336

Details

Provenance
markjAuthored on Jul 29 2021, 2:14 PM
Reviewer
kib
Differential Revision
D31336: amd64: Set GSBASE before calling init_secondary()
Parents
R10:9e575fadf491: link_elf_obj: Invoke fini callbacks
Branches
Unknown
Tags
Unknown