Changeset 281b607 in mainline for arch/amd64/src/proc/scheduler.c


Ignore:
Timestamp:
2006-03-23T10:29:39Z (19 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a0bb10ef
Parents:
9aa72b4
Message:

Added basic kernel infrastructure for ThreadLocalStorage(TLS) for
ia32(complete),amd64(complete),mips32(missing emulation of rdhwr instruction).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/amd64/src/proc/scheduler.c

    r9aa72b4 r281b607  
    4646        swapgs();
    4747
     48        /* TLS support - set FS to thread local storage */
     49        write_msr(AMD_MSR_FS, THREAD->tls);
     50
    4851#ifdef CONFIG_DEBUG_AS_WATCHPOINT
    4952        /* Set watchpoint on AS to ensure that nobody sets it to zero */
Note: See TracChangeset for help on using the changeset viewer.