Subversion Repositories HelenOS-historic

Compare Revisions

Ignore whitespace Rev 1183 → Rev 1184

/kernel/trunk/arch/amd64/src/proc/scheduler.c
47,7 → 47,7
swapgs();
 
/* TLS support - set FS to thread local storage */
write_msr(AMD_MSR_FS, THREAD->tls);
write_msr(AMD_MSR_FS, THREAD->arch.tls);
 
#ifdef CONFIG_DEBUG_AS_WATCHPOINT
/* Set watchpoint on AS to ensure that nobody sets it to zero */