]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm64: Handle thumb2 thread entry point.
authorOlivier Houchard <cognet@FreeBSD.org>
Tue, 21 Sep 2021 21:17:53 +0000 (23:17 +0200)
committerOlivier Houchard <cognet@FreeBSD.org>
Tue, 21 Sep 2021 21:20:27 +0000 (23:20 +0200)
commit2191473724fbac4a7ca6da24bdc23164126ee904
treec3c889314a9a9ab9552c3b9ef44fdd1ae7a8ac3b
parent397f188936c8a29b6a2d4d13f0cf5681b4bcb9a3
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
sys/arm64/arm64/vm_machdep.c