ntdll/tests: Add ARM64 support for map protection tests

André Hentschel nerv at dawncrow.de
Sun Aug 9 13:10:37 CDT 2015


---
 dlls/ntdll/tests/info.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/ntdll/tests/info.c b/dlls/ntdll/tests/info.c
index 4111be4..83fdd53 100644
--- a/dlls/ntdll/tests/info.c
+++ b/dlls/ntdll/tests/info.c
@@ -1442,6 +1442,8 @@ static void test_mapprotection(void)
     *(unsigned char*)addr = 0xc3;       /* lret ... in both i386 and x86_64 */
 #elif defined(__arm__)
     *(unsigned long*)addr = 0xe12fff1e; /* bx lr */
+#elif defined(__aarch64__)
+    *(unsigned long*)addr = 0xd65f03c0; /* ret */
 #else
     ok(0, "Add a return opcode for your architecture or expect a crash in this test\n");
 #endif
-- 
1.9.1





More information about the wine-patches mailing list