From 8ea98ac6482a3c0fa2bee57b558fefe79b04db7e Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Mon, 5 Jan 2009 02:43:00 +0000 Subject: 2009-01-05 Samuel Thibault * 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. --- i386/intel/pmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i386/intel') 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); \ } -- cgit v1.2.3