https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8df1b535080cbac0328985f15eaac3f96eb45f95
commit 8df1b535080cbac0328985f15eaac3f96eb45f95 Author: Dmitry Borisov <di.s...@protonmail.com> AuthorDate: Fri May 5 22:04:35 2023 +0600 Commit: GitHub <nore...@github.com> CommitDate: Fri May 5 18:04:35 2023 +0200 [NTOS:CM] Initialize the alternative system architecture field on PC-98 builds (#5136) This is needed by some 3rd party drivers. CORE-17977 --- ntoskrnl/config/cmconfig.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ntoskrnl/config/cmconfig.c b/ntoskrnl/config/cmconfig.c index 42c428f971e..43239537d79 100644 --- a/ntoskrnl/config/cmconfig.c +++ b/ntoskrnl/config/cmconfig.c @@ -333,6 +333,11 @@ CmpInitializeHardwareConfiguration(IN PLOADER_PARAMETER_BLOCK LoaderBlock) ULONG Disposition; UNICODE_STRING KeyName; + /* Set the alternative system architecture information */ +#if defined(SARCH_PC98) + SharedUserData->AlternativeArchitecture = NEC98x86; +#endif + /* Setup the key name */ RtlInitUnicodeString(&KeyName, L"\\Registry\\Machine\\Hardware\\DeviceMap");