Author: dgorbachev
Date: Sat Mar 24 11:31:23 2007
New Revision: 26160
URL:
http://svn.reactos.org/svn/reactos?rev=26160&view=rev
Log:
Fix a bug.
Modified:
trunk/reactos/ntoskrnl/include/internal/i386/asmmacro.S
Modified: trunk/reactos/ntoskrnl/include/internal/i386/asmmacro.S
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/ntoskrnl/include/internal/…
==============================================================================
--- trunk/reactos/ntoskrnl/include/internal/i386/asmmacro.S (original)
+++ trunk/reactos/ntoskrnl/include/internal/i386/asmmacro.S Sat Mar 24 11:31:23 2007
@@ -448,7 +448,7 @@
mov fs, bx
/* Save exception list and bogus previous mode */
- push PCR[KPCR_EXCEPTION_LIST]
+ push fs:[KPCR_EXCEPTION_LIST]
push -1
/* Save volatiles and segment registers */
@@ -484,7 +484,7 @@
V86_&EndLabel:
/* Get current thread */
- mov ecx, PCR[KPCR_CURRENT_THREAD]
+ mov ecx, fs:[KPCR_CURRENT_THREAD]
cld
/* Flush DR7 */