[ros-diffs] [hbirr] 14768: Fixed the smp build.

hbirr at svn.reactos.com hbirr at svn.reactos.com
Sat Apr 23 14:44:44 CEST 2005


Fixed the smp build.
Modified: trunk/reactos/ntoskrnl/ke/i386/ctxswitch.S
  _____  

Modified: trunk/reactos/ntoskrnl/ke/i386/ctxswitch.S
--- trunk/reactos/ntoskrnl/ke/i386/ctxswitch.S	2005-04-23 10:18:43 UTC
(rev 14767)
+++ trunk/reactos/ntoskrnl/ke/i386/ctxswitch.S	2005-04-23 12:44:42 UTC
(rev 14768)
@@ -134,18 +134,18 @@

     
 #ifdef CONFIG_SMP
     /* Save FPU state if the thread has used it. */
-    mov [ebx+KPCR_NPX_THREAD], 0
+    mov dword ptr [ebx+KPCR_NPX_THREAD], 0
     test byte ptr [edi+KTHREAD_NPX_STATE], NPX_STATE_DIRTY
     jz 3f
     mov eax, [edi+KTHREAD_INITIAL_STACK]
-    cmp _FxsrSupport, 0
+    cmp dword ptr _FxsrSupport, 0
     je 1f
     fxsave [eax-SIZEOF_FX_SAVE_AREA]
     jmp 2f
 1:
     fnsave [eax-SIZEOF_FX_SAVE_AREA]
 2:
-    mov byte ptr [edi+KTHREAD_INITIAL_STACK], NPX_STATE_VALID
+    mov byte ptr [edi+KTHREAD_NPX_STATE], NPX_STATE_VALID
 3:
 #endif /* CONFIG_SMP */
     
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050423/6397b2d4/attachment.html


More information about the Ros-diffs mailing list