Try again; enable MP and NE and disable EM

svn path=/trunk/; revision=2244
This commit is contained in:
David Welch 2001-09-09 00:08:39 +00:00
parent ef3bb24149
commit d9975bf64a

View file

@ -51,7 +51,9 @@ KiCheckFPU(VOID)
__asm__("movl %%cr0, %0\n\t" : "=a" (cr0));
/* Set NE and MP. */
cr0 = cr0 | 22;
cr0 = cr0 | 0x22;
/* Clear EM */
cr0 = cr0 & (~0x4);
__asm__("movl %0, %%cr0\n\t" : : "a" (cr0));
__asm__("clts\n\t");