]> Git Repo - qemu.git/blobdiff - target/arm/pauth_helper.c
target/arm: Add copyright boilerplate
[qemu.git] / target / arm / pauth_helper.c
index 7f30ae7395ecc439a293c9f5c36123795753705d..d3194f20437b717ec1cc13a1003e6bbc843e554b 100644 (file)
@@ -344,9 +344,9 @@ static uint64_t pauth_auth(CPUARMState *env, uint64_t ptr, uint64_t modifier,
     if (unlikely(extract64(test, bot_bit, top_bit - bot_bit))) {
         int error_code = (keynumber << 1) | (keynumber ^ 1);
         if (param.tbi) {
-            return deposit64(ptr, 53, 2, error_code);
+            return deposit64(orig_ptr, 53, 2, error_code);
         } else {
-            return deposit64(ptr, 61, 2, error_code);
+            return deposit64(orig_ptr, 61, 2, error_code);
         }
     }
     return orig_ptr;
This page took 0.023871 seconds and 4 git commands to generate.