HomeFreeBSD

arm64: Handle thumb2 thread entry point.

Description

arm64: Handle thumb2 thread entry point.

In cpu_set_upcall(), if the thread startup routine is a thumb routine, make
sure to set PSR_T, so that the CPU will run in thumb mode.

MFC After: 1 week

Details

Provenance
cognetAuthored on Sep 21 2021, 9:17 PM
Parents
rG397f188936c8: Remove SV_CAPSICUM
Branches
Unknown
Tags
Unknown