HomeFreeBSD

arm64: Move the initial kernel stack out of the init_pagetables section

Description

arm64: Move the initial kernel stack out of the init_pagetables section

init_pagetables is mapped into the segment containing the BSS, but does
not get zeroed by locore. It is used for bootstrap page table pages.

It happens that the bootstrap kernel stack is also placed in that
section, but there's no reason it shouldn't live in the BSS, so move it
there. No functional change intended.

Reviewed by: andrew
MFC after: 1 week
Sponsored by: Klara, Inc.
Sponsored by: Juniper Networks
Differential Revision: https://reviews.freebsd.org/D39367

(cherry picked from commit 1a3cb489e5aac260eb9f48567dd6c086d62a8ea7)

Details

Provenance
markjAuthored on Mar 31 2023, 3:04 PM
Reviewer
andrew
Differential Revision
D39367: arm64: Move the initial kernel stack out of the init_pagetables section
Parents
rGe180d4c124b5: arm64: Ensure that thread0's PCB flags are initialized
Branches
Unknown
Tags
Unknown