svn commit: r270217 - projects/arm64/sys/arm64/arm64
Andrew Turner
andrew at FreeBSD.org
Wed Aug 20 15:56:10 UTC 2014
Author: andrew
Date: Wed Aug 20 15:56:10 2014
New Revision: 270217
URL: http://svnweb.freebsd.org/changeset/base/270217
Log:
Aslo set curthread in the pcpu area on cpu switch
Modified:
projects/arm64/sys/arm64/arm64/swtch.S
Modified: projects/arm64/sys/arm64/arm64/swtch.S
==============================================================================
--- projects/arm64/sys/arm64/arm64/swtch.S Wed Aug 20 15:43:26 2014 (r270216)
+++ projects/arm64/sys/arm64/arm64/swtch.S Wed Aug 20 15:56:10 2014 (r270217)
@@ -64,6 +64,7 @@ ENTRY(cpu_switch)
ldr x3, .Lcurpcpu
/* Store the new curthread */
+ str x1, [x3, #PC_CURTHREAD]
msr tpidr_el1, x1
/* And the new pcb */
ldr x4, [x1, #TD_PCB]
More information about the svn-src-projects
mailing list