patch-2.4.19 linux-2.4.19/include/asm-i386/processor.h
Next file: linux-2.4.19/include/asm-i386/rwlock.h
Previous file: linux-2.4.19/include/asm-i386/pgtable.h
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/include/asm-i386/processor.h
- Orig date:
Thu Nov 22 11:46:19 2001
diff -urN linux-2.4.18/include/asm-i386/processor.h linux-2.4.19/include/asm-i386/processor.h
@@ -63,6 +63,7 @@
#define X86_VENDOR_CENTAUR 5
#define X86_VENDOR_RISE 6
#define X86_VENDOR_TRANSMETA 7
+#define X86_VENDOR_NSC 8
#define X86_VENDOR_UNKNOWN 0xff
/*
@@ -190,6 +191,9 @@
#define X86_CR4_OSFXSR 0x0200 /* enable fast FPU save and restore */
#define X86_CR4_OSXMMEXCPT 0x0400 /* enable unmasked SSE exceptions */
+#define load_cr3(pgdir) \
+ asm volatile("movl %0,%%cr3": :"r" (__pa(pgdir)));
+
/*
* Save the cr4 feature set we're using (ie
* Pentium 4MB enable and PPro Global page
@@ -377,7 +381,7 @@
/* virtual 86 mode info */
struct vm86_struct * vm86_info;
unsigned long screen_bitmap;
- unsigned long v86flags, v86mask, v86mode, saved_esp0;
+ unsigned long v86flags, v86mask, saved_esp0;
/* IO permissions */
int ioperm;
unsigned long io_bitmap[IO_BITMAP_SIZE+1];
@@ -389,7 +393,7 @@
{ [0 ... 7] = 0 }, /* debugging registers */ \
0, 0, 0, \
{ { 0, }, }, /* 387 state */ \
- 0,0,0,0,0,0, \
+ 0,0,0,0,0, \
0,{~0,} /* io permissions */ \
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)