Author: ion
Date: Sun Jan 7 09:49:00 2007
New Revision: 25337
URL:
http://svn.reactos.org/svn/reactos?rev=25337&view=rev
Log:
- Smallish changes to HalpReboot to make flags clearer and fixup one of them.
Modified:
trunk/reactos/hal/halx86/generic/reboot.c
Modified: trunk/reactos/hal/halx86/generic/reboot.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/hal/halx86/generic/reboot.…
==============================================================================
--- trunk/reactos/hal/halx86/generic/reboot.c (original)
+++ trunk/reactos/hal/halx86/generic/reboot.c Sun Jan 7 09:49:00 2007
@@ -46,7 +46,7 @@
/* Read periodic register and clear the interrupt enable */
Data = READ_PORT_UCHAR((PUCHAR)0x71);
- WRITE_PORT_UCHAR((PUCHAR)0x71, Data & 0xBF);
+ WRITE_PORT_UCHAR((PUCHAR)0x71, Data & ~0x40);
KeStallExecutionProcessor(1);
/* Setup control register A */
@@ -55,7 +55,7 @@
/* Read divider rate and reset it */
Data = READ_PORT_UCHAR((PUCHAR)0x71);
- WRITE_PORT_UCHAR((PUCHAR)0x71, (Data & 0xF0) | 0x06);
+ WRITE_PORT_UCHAR((PUCHAR)0x71, (Data & ~0x9) | 0x06);
KeStallExecutionProcessor(1);
/* Reset neutral CMOS address */