]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm: Handle thumb2 thread entry point.
authorOlivier Houchard <cognet@FreeBSD.org>
Tue, 21 Sep 2021 21:19:46 +0000 (23:19 +0200)
committerOlivier Houchard <cognet@FreeBSD.org>
Tue, 21 Sep 2021 21:20:27 +0000 (23:20 +0200)
commita342ecd326ee9e021b0a4d6dc8aca1a297c606f8
treeba4c8d636bcb53e4d4df52d8960f1ae2170e2da1
parent2191473724fbac4a7ca6da24bdc23164126ee904
arm: 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
sys/arm/arm/vm_machdep.c