mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
- Smallish changes to HalpReboot to make flags clearer and fixup one of them.
svn path=/trunk/; revision=25337
This commit is contained in:
parent
8fe3cfc983
commit
a50637c13a
1 changed files with 2 additions and 2 deletions
|
@ -46,7 +46,7 @@ HalpReboot(VOID)
|
|||
|
||||
/* 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 @@ HalpReboot(VOID)
|
|||
|
||||
/* 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 */
|
||||
|
|
Loading…
Reference in a new issue