]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
amd64: rewrite cpu_switch.S fragment to reload tss.rsp0 on context switch.
authorkib <kib@FreeBSD.org>
Sat, 16 Mar 2019 11:12:02 +0000 (11:12 +0000)
committerkib <kib@FreeBSD.org>
Sat, 16 Mar 2019 11:12:02 +0000 (11:12 +0000)
commita83c13f1749ce4fba48bd29585c034aca54110c3
tree316d5d0ac3b5f125975c5b4c69df359c3460579b
parentde68b872a7420a4e869a0c4b9d5e3b9eb4bd61fa
amd64: rewrite cpu_switch.S fragment to reload tss.rsp0 on context switch.

New code avoids jumps.

Reviewed by: markj
Tested by: pho
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D19514
sys/amd64/amd64/cpu_switch.S