[PATCH 14/22] kernelbase: Add support for PPC64
André Hentschel
nerv at dawncrow.de
Sun Aug 16 14:01:52 CDT 2020
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 1efc3b6e826..7dc9b69aa4a 100644
--- a/dlls/kernelbase/memory.c
+++ b/dlls/kernelbase/memory.c
@@ -149,6 +149,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 c8d07c3e328..7c5ccde862c 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