mirror of
https://github.com/reactos/reactos.git
synced 2024-09-11 05:12:43 +00:00
Try again; enable MP and NE and disable EM
svn path=/trunk/; revision=2244
This commit is contained in:
parent
ef3bb24149
commit
d9975bf64a
|
@ -51,7 +51,9 @@ KiCheckFPU(VOID)
|
||||||
|
|
||||||
__asm__("movl %%cr0, %0\n\t" : "=a" (cr0));
|
__asm__("movl %%cr0, %0\n\t" : "=a" (cr0));
|
||||||
/* Set NE and MP. */
|
/* Set NE and MP. */
|
||||||
cr0 = cr0 | 22;
|
cr0 = cr0 | 0x22;
|
||||||
|
/* Clear EM */
|
||||||
|
cr0 = cr0 & (~0x4);
|
||||||
__asm__("movl %0, %%cr0\n\t" : : "a" (cr0));
|
__asm__("movl %0, %%cr0\n\t" : : "a" (cr0));
|
||||||
|
|
||||||
__asm__("clts\n\t");
|
__asm__("clts\n\t");
|
||||||
|
|
Loading…
Reference in a new issue