View | Details | Raw Unified | Return to bug 264506
Collapse All | Expand All

(-)b/x11-toolkits/copperspice/files/patch-src_3rdparty_webkit_Source_JavaScriptCore_jit_ExecutableAllocator.h (+27 lines)
Added Link Here
1
--- src/3rdparty/webkit/Source/JavaScriptCore/jit/ExecutableAllocator.h.orig	2022-06-05 21:14:42 UTC
2
+++ src/3rdparty/webkit/Source/JavaScriptCore/jit/ExecutableAllocator.h
3
@@ -54,6 +54,10 @@
4
 #include <unistd.h>
5
 #endif
6
 
7
+#if OS(FREEBSD)
8
+#include <machine/sysarch.h>
9
+#endif
10
+
11
 #if OS(WINCE)
12
 // From pkfuncs.h (private header file from the Platform Builder)
13
 #define CACHE_SYNC_ALL 0x07F
14
@@ -304,6 +308,13 @@ class ExecutableAllocator { (public)
15
             :
16
             : "r" (code), "r" (reinterpret_cast<char*>(code) + size)
17
             : "r0", "r1", "r2");
18
+    }
19
+#elif (CPU(ARM_TRADITIONAL) || CPU(ARM_THUMB2)) && OS(FREEBSD)
20
+    static void cacheFlush(void *code, size_t size)
21
+    {
22
+        struct arm_sync_icache_args asia = { reinterpret_cast<uintptr_t>(code), size };
23
+
24
+        sysarch(ARM_SYNC_ICACHE, &asia);
25
     }
26
 #elif OS(WINCE)
27
     static void cacheFlush(void* code, size_t size)
(-)b/x11-toolkits/copperspice/files/patch-src_core_global_qglobal.h (-1 / +19 lines)
Added Link Here
0
- 
1
--- src/core/global/qglobal.h.orig	2022-06-04 14:31:11 UTC
2
+++ src/core/global/qglobal.h
3
@@ -101,13 +101,13 @@
4
 
5
 #   define Q_PROCESSOR_ARM_32
6
 
7
-#   if defined(__ARM_ARCH_7__)
8
+#   if defined(__ARM_ARCH_7__) || defined(__ARM_ARCH_7A__)
9
 #      define Q_PROCESSOR_ARM      7
10
 #      define Q_PROCESSOR_ARM_V7
11
 
12
-#   elif defined(__ARM_ARCH_6__)
13
+#   elif defined(__ARM_ARCH_6__) || defined(__ARM_ARCH_6KZ__)
14
 #      define Q_PROCESSOR_ARM      6
15
-#      define Q_PROCESSOR_ARM_V8
16
+#      define Q_PROCESSOR_ARM_V6
17
 
18
 #   elif defined(__ARM_ARCH_5__)
19
 #      define Q_PROCESSOR_ARM      5

Return to bug 264506