mirror of
https://github.com/reactos/reactos.git
synced 2025-04-28 01:11:35 +00:00
[NTOS:CM] Initialize the alternative system architecture field on PC-98 builds (#5136)
This is needed by some 3rd party drivers. CORE-17977
This commit is contained in:
parent
f18111b641
commit
8df1b53508
1 changed files with 5 additions and 0 deletions
|
@ -333,6 +333,11 @@ CmpInitializeHardwareConfiguration(IN PLOADER_PARAMETER_BLOCK LoaderBlock)
|
||||||
ULONG Disposition;
|
ULONG Disposition;
|
||||||
UNICODE_STRING KeyName;
|
UNICODE_STRING KeyName;
|
||||||
|
|
||||||
|
/* Set the alternative system architecture information */
|
||||||
|
#if defined(SARCH_PC98)
|
||||||
|
SharedUserData->AlternativeArchitecture = NEC98x86;
|
||||||
|
#endif
|
||||||
|
|
||||||
/* Setup the key name */
|
/* Setup the key name */
|
||||||
RtlInitUnicodeString(&KeyName,
|
RtlInitUnicodeString(&KeyName,
|
||||||
L"\\Registry\\Machine\\Hardware\\DeviceMap");
|
L"\\Registry\\Machine\\Hardware\\DeviceMap");
|
||||||
|
|
Loading…
Reference in a new issue