]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Correctly set the DAIF bits in new threads
authorAndrew Turner <andrew@FreeBSD.org>
Mon, 22 Oct 2018 14:58:59 +0000 (14:58 +0000)
committerAndrew Turner <andrew@FreeBSD.org>
Mon, 22 Oct 2018 14:58:59 +0000 (14:58 +0000)
commit71374d5d9941692545e48bf66fcc2a31ad2b15f5
treec55302b1694f9475f38ddfa3e4818da5744cd22f
parentda4e7cad13c0d80a1801984e55e887f2d6b0dab1
Correctly set the DAIF bits in new threads

We should only unmask interrupts when creating a new thread and leave the
other exceptions in teh same state as before creating the thread.

Reported by: jhibbits
Reviewed by: jhibbits
MFC after: 1 month
Sponsored by: https://reviews.freebsd.org/D17497
sys/arm64/arm64/vm_machdep.c
sys/arm64/include/armreg.h