Commit c4cd981a authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

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

parent ef783d62
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment