[PATCH 15/23] kernelbase: Add support for PPC64
André Hentschel
nerv at dawncrow.de
Sun Jan 31 11:34:25 CST 2021
Signed-off-by: André Hentschel <nerv at dawncrow.de>
---
dlls/kernelbase/memory.c | 3 +++
include/winnt.h | 1 +
2 files changed, 4 insertions(+)
diff --git a/dlls/kernelbase/memory.c b/dlls/kernelbase/memory.c
index 2bfd3893e8e..f1becdaded5 100644
--- a/dlls/kernelbase/memory.c
+++ b/dlls/kernelbase/memory.c
@@ -150,6 +150,9 @@ void WINAPI DECLSPEC_HOTPATCH GetSystemInfo( SYSTEM_INFO *si )
case PROCESSOR_ARCHITECTURE_ARM64:
si->dwProcessorType = 0;
break;
+ case PROCESSOR_ARCHITECTURE_PPC64:
+ si->dwProcessorType = PROCESSOR_PPC64_OP;
+ break;
default:
FIXME( "Unknown processor architecture %x\n", cpu_info.Architecture );
si->dwProcessorType = 0;
diff --git a/include/winnt.h b/include/winnt.h
index 359a6a3a5fd..a697331e157 100644
--- a/include/winnt.h
+++ b/include/winnt.h
@@ -707,6 +707,7 @@ typedef DWORD FLONG;
#define PROCESSOR_PPC_603 603
#define PROCESSOR_PPC_604 604
#define PROCESSOR_PPC_620 620
+#define PROCESSOR_PPC64_OP 690
#define PROCESSOR_HITACHI_SH3 10003
#define PROCESSOR_HITACHI_SH3E 10004
#define PROCESSOR_HITACHI_SH4 10005
--
2.25.1
More information about the wine-devel
mailing list