=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: ntdll/tests: Add ARM64 support for map protection tests.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Aug 17 09:01:12 CDT 2015


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Sun Aug  9 20:10:37 2015 +0200

ntdll/tests: Add ARM64 support for map protection tests.

---

 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




More information about the wine-cvs mailing list