projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f057d1
)
stop wasting power at shutdown
author
Mike Nordell
<tamlin@algonet.se>
Sat, 21 Aug 2004 15:29:08 +0000
(15:29 +0000)
committer
Mike 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
patch
|
blob
|
history
diff --git
a/reactos/ntoskrnl/ex/power.c
b/reactos/ntoskrnl/ex/power.c
index
656a302
..
91c0ae7
100644
(file)
--- a/
reactos/ntoskrnl/ex/power.c
+++ b/
reactos/ntoskrnl/ex/power.c
@@
-49,11
+49,10
@@
NtShutdownSystem(IN SHUTDOWN_ACTION Action)
#else
PopSetSystemPowerState(PowerSystemShutdown);
- Ke386DisableInterrupts();
-
while (TRUE)
{
- ;
+ Ke386DisableInterrupts();
+ Ke386HaltProcessor();
}
#endif
}