stop wasting power at shutdown
authorMike Nordell <tamlin@algonet.se>
Sat, 21 Aug 2004 15:29:08 +0000 (15:29 +0000)
committerMike Nordell <tamlin@algonet.se>
Sat, 21 Aug 2004 15:29:08 +0000 (15:29 +0000)
svn path=/trunk/; revision=10629

reactos/ntoskrnl/ex/power.c

index 656a302..91c0ae7 100644 (file)
@@ -49,11 +49,10 @@ NtShutdownSystem(IN SHUTDOWN_ACTION Action)
 #else
         PopSetSystemPowerState(PowerSystemShutdown);
 
-       Ke386DisableInterrupts();
-
        while (TRUE)
          {
-           ;
+           Ke386DisableInterrupts();
+           Ke386HaltProcessor();
          }
 #endif
      }