diff options
author | Richard Braun <rbraun@sceen.net> | 2014-09-03 21:22:26 +0200 |
---|---|---|
committer | Richard Braun <rbraun@sceen.net> | 2014-09-03 21:22:26 +0200 |
commit | eed59b8076e7668b5e0f874bd3ed28230f470bb1 (patch) | |
tree | d5b7ddf4c01d3c8b9bbcd4fe957c0b40522ac15b /kern/kernel.c | |
parent | 7fa931d4e56e8926058c0a2a10d731614dfd6f65 (diff) |
x86/cpu: improve percpu support
- declare CPU descriptors as percpu variables
- make the percpu segment register point to the percpu area instead of
the CPU descriptor
- remove the ugly accessors for the local CPU descriptor, pmap and TCB
and use percpu variables for them instead
- implement the cpu_local accessors as described in the percpu
documentation
Diffstat (limited to 'kern/kernel.c')
0 files changed, 0 insertions, 0 deletions