mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 12:23:25 +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:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user