HomeFreeBSD

Preserve the inherited value of the status register in cpu_set_upcall().

Description

Preserve the inherited value of the status register in cpu_set_upcall().

Instead of re-deriving the value of SR using logic similar to
exec_set_regs(), just inherit the value from the existing thread
similar to fork().

Reviewed by: brooks
Obtained from: CheriBSD
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D23059

Details

Provenance
jhbAuthored on
Reviewer
brooks
Differential Revision
D23059: Preserve the inherited value of the status register in cpu_set_upcall().
Parents
rS356736: limit ld.bfd to powerpc
Branches
Unknown
Tags
Unknown