HomeFreeBSD

Initialize SPRG0 before its first possible use

Description

Initialize SPRG0 before its first possible use

At early boot, PCPU_GET(), that obtains a pointer from SPRG0, was being
used with SPRG0 not yet initialized. If it pointed to an invalid
address, the machine would hang.

Approved by: re(gjb), jhibbits(mentor)

Details

Provenance
luporlAuthored on
Parents
rS339359: MFC r339241:
Branches
Unknown
Tags
Unknown