Skip to content
Commit 32fc239a authored by Charles E. Youse's avatar Charles E. Youse Committed by Andrew Boie
Browse files

arch/x86: (Intel64) use TSS for per-CPU variables



A space is allocated in the TSS for per-CPU variables. At present,
this is only a 'struct _cpu *' to find the _kernel CPU struct. The
locore routines are rewritten to find _current and _nested via this
pointer rather than referencing the _kernel global directly.

This is obviously in preparation for SMP support.

Signed-off-by: default avatarCharles E. Youse <charles.youse@intel.com>
parent 1d8c80bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment