=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: ntdll: Add ARM64 cpu info.

Alexandre Julliard julliard at winehq.org
Wed Jan 16 13:47:43 CST 2013


Module: wine
Branch: master
Commit: 855be0bb55c52c1216404e32fe9abcf9694faedc
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=855be0bb55c52c1216404e32fe9abcf9694faedc

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Jan 16 00:52:23 2013 +0100

ntdll: Add ARM64 cpu info.

---

 dlls/ntdll/nt.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/dlls/ntdll/nt.c b/dlls/ntdll/nt.c
index d415db4..a2e0716 100644
--- a/dlls/ntdll/nt.c
+++ b/dlls/ntdll/nt.c
@@ -1103,6 +1103,14 @@ static inline void get_cpuinfo(SYSTEM_CPU_INFORMATION* info)
     info->Architecture = PROCESSOR_ARCHITECTURE_ARM;
 }
 
+#elif defined(__aarch64__)
+
+static inline void get_cpuinfo(SYSTEM_CPU_INFORMATION* info)
+{
+    info->Level = 8;
+    info->Architecture = PROCESSOR_ARCHITECTURE_ARM;
+}
+
 #elif defined(__sparc__)
 
 static inline void get_cpuinfo(SYSTEM_CPU_INFORMATION* info)




More information about the wine-cvs mailing list