André Hentschel : kernel32: Set dwProcessorType on ARM .

Alexandre Julliard julliard at winehq.org
Thu Jun 16 14:28:47 CDT 2011


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Wed Jun 15 20:53:35 2011 +0200

kernel32: Set dwProcessorType on ARM.

---

 dlls/kernel32/cpu.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/dlls/kernel32/cpu.c b/dlls/kernel32/cpu.c
index 560c060..996d776 100644
--- a/dlls/kernel32/cpu.c
+++ b/dlls/kernel32/cpu.c
@@ -157,6 +157,13 @@ VOID WINAPI GetSystemInfo(
     case PROCESSOR_ARCHITECTURE_AMD64:
         si->dwProcessorType = PROCESSOR_AMD_X8664;
         break;
+    case PROCESSOR_ARCHITECTURE_ARM:
+        switch (sci.Level)
+        {
+        case 4:  si->dwProcessorType = PROCESSOR_ARM_7TDMI;     break;
+        default: si->dwProcessorType = PROCESSOR_ARM920;
+        }
+        break;
     default:
         FIXME("Unknown processor architecture %x\n", sci.Architecture);
         si->dwProcessorType = 0;




More information about the wine-cvs mailing list