Author: weiden Date: Sun Oct 15 14:53:53 2006 New Revision: 24513
URL: http://svn.reactos.org/svn/reactos?rev=24513&view=rev Log: Fix optimization bug
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c
Modified: trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/arch/i... ============================================================================== --- trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c (original) +++ trunk/reactos/boot/freeldr/freeldr/arch/i386/hardware.c Sun Oct 15 14:53:53 2006 @@ -130,7 +130,7 @@ static VOID __StallExecutionProcessor(ULONG Loops) { - register unsigned int i; + volatile register unsigned int i; for (i = 0; i < Loops; i++); }