=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: winebuild: Use a 64k page size on ARM64.

Alexandre Julliard julliard at wine.codeweavers.com
Tue May 12 09:08:19 CDT 2015


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Thu May  7 23:37:49 2015 +0200

winebuild: Use a 64k page size on ARM64.

---

 tools/winebuild/utils.c | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/tools/winebuild/utils.c b/tools/winebuild/utils.c
index b9318c3..83eb803 100644
--- a/tools/winebuild/utils.c
+++ b/tools/winebuild/utils.c
@@ -931,11 +931,13 @@ unsigned int get_page_size(void)
 {
     switch(target_cpu)
     {
-    case CPU_x86:     return 4096;
-    case CPU_x86_64:  return 4096;
-    case CPU_POWERPC: return 4096;
-    case CPU_ARM:     return 4096;
-    case CPU_ARM64:   return 4096;
+    case CPU_x86:
+    case CPU_x86_64:
+    case CPU_POWERPC:
+    case CPU_ARM:
+        return 0x1000;
+    case CPU_ARM64:
+        return 0x10000;
     }
     /* unreached */
     assert(0);




More information about the wine-cvs mailing list