Author: fireball Date: Sun Mar 25 18:31:03 2007 New Revision: 26166
URL: http://svn.reactos.org/svn/reactos?rev=26166&view=rev Log: More 26160-style fixes (mandatory addressing of PCR via FS register).
Alex & Dmitry - please check this, just in case.
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/i... ============================================================================== --- trunk/reactos/ntoskrnl/include/internal/i386/asmmacro.S (original) +++ trunk/reactos/ntoskrnl/include/internal/i386/asmmacro.S Sun Mar 25 18:31:03 2007 @@ -263,7 +263,7 @@ mov dr7, ebx
/* Get the PRCB */ - mov edi, PCR[KPCR_PRCB] + mov edi, fs:[KPCR_PRCB]
/* Get DR0, 1 */ mov ebx, [edi+KPRCB_DR0] @@ -563,10 +563,10 @@
1: /* Get the previous exception list */ - mov ebx, PCR[KPCR_EXCEPTION_LIST] + mov ebx, fs:[KPCR_EXCEPTION_LIST]
/* Set the exception handler chain terminator */ - mov dword ptr PCR[KPCR_EXCEPTION_LIST], -1 + mov dword ptr fs:[KPCR_EXCEPTION_LIST], -1
/* Save the previous exception list */ mov [esp+KTRAP_FRAME_EXCEPTION_LIST], ebx @@ -838,7 +838,7 @@ cld
/* Save the exception list */ - mov eax, PCR[KPCR_EXCEPTION_LIST] + mov eax, fs:[KPCR_EXCEPTION_LIST] mov [esp+KTRAP_FRAME_EXCEPTION_LIST], eax
/* Check if we need debugging */