mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
[HAL]
- Fix a bug writing the DisableFirmwareMapper entry svn path=/trunk/; revision=53248
This commit is contained in:
@@ -62,6 +62,7 @@ HalpMarkAcpiHal(VOID)
|
||||
UNICODE_STRING KeyString;
|
||||
HANDLE KeyHandle;
|
||||
HANDLE Handle;
|
||||
ULONG Value = HalDisableFirmwareMapper ? 1 : 0;
|
||||
|
||||
/* Open the control set key */
|
||||
RtlInitUnicodeString(&KeyString,
|
||||
@@ -88,8 +89,8 @@ HalpMarkAcpiHal(VOID)
|
||||
&KeyString,
|
||||
0,
|
||||
REG_DWORD,
|
||||
&HalDisableFirmwareMapper,
|
||||
sizeof(HalDisableFirmwareMapper));
|
||||
&Value,
|
||||
sizeof(Value));
|
||||
|
||||
/* Close subkey */
|
||||
ZwClose(KeyHandle);
|
||||
|
||||
Reference in New Issue
Block a user