mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +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
1 changed files with 3 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue