HomeFreeBSD

Fix LEAVE_HYP macro: spsr is not guaranteed to contain valid value at this

Description

Fix LEAVE_HYP macro: spsr is not guaranteed to contain valid value at this
point, e.g. on RaspberryPi 2 when control is passed from loader to kernel
it contains garbage. So we use cpsr as a base for new cpsr value: if we
have reached this point it means current value is OK

Reviewed by: andrew

Details

Provenance
gonzoAuthored on
Reviewer
andrew
Parents
rS290166: Install myself as src committer.
Branches
Unknown
Tags
Unknown