From c4cd981a61d2dfc20053051b284bd8d3ed1512b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Sun, 9 Aug 2015 20:10:37 +0200 Subject: [PATCH] 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 4111be4e030..83fdd53db70 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