diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2009-01-05 02:43:00 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:27:21 +0200 |
commit | 8ea98ac6482a3c0fa2bee57b558fefe79b04db7e (patch) | |
tree | 68f6696b1c850b82566f0e16b0e11c5f35250b81 /i386/intel | |
parent | 44838ea9dc4098cfaef0cf27ea997199203292ae (diff) |
2009-01-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
* i386/i386/gdt.h (LINEAR_DS): New macro.
* i386/i386/gdt.c (gdt_init): Initialize LINEAR_DS descriptor.
* i386/i386/proc_reg.h (invlpg_user): Rename macro into...
(invlpg_linear): ... this. Use movw instead of movl to set KERNEL_DS
selector. Use LINEAR_DS selector instead of USER_DS selector.
* i386/intel/pmap.c (INVALIDATE_TLB): Call invlpg_linear instead of
invlpg_user.
Diffstat (limited to 'i386/intel')
-rw-r--r-- | i386/intel/pmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/intel/pmap.c b/i386/intel/pmap.c index f1813b0..7ce3fb3 100644 --- a/i386/intel/pmap.c +++ b/i386/intel/pmap.c @@ -335,7 +335,7 @@ lock_data_t pmap_system_lock; if (((e) - (s)) > 32 * PAGE_SIZE) \ flush_tlb(); \ else \ - invlpg_user(s, e); \ + invlpg_linear(s, e); \ } |