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().
Details
Details
- tested mips64 under cheribsd
Diff Detail
Diff Detail
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 28507 Build 26562: arc lint + arc unit
Event Timeline
Comment Actions
This probably fixes O32 binaries that use threads when run under an N64 kernel since the new threads would end up with UX set incorrectly today, but I didn't test that.