diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2014-03-28 11:28:38 +0100 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2014-06-05 16:10:34 +0200 |
commit | 43773ed369a2e1f6c347e30c74df27a8750d1d2d (patch) | |
tree | 14526198832294b4f55a5aaa5eb42d79c7c33c1e /target-i386/helper.c | |
parent | c773828aa9259664bc24272b0cab781245409e1f (diff) | |
download | qemu-43773ed369a2e1f6c347e30c74df27a8750d1d2d.zip |
target-i386: rename KSMAP to KNOSMAP
This is the mode where SMAP is overridden, put "NO" in its name.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target-i386/helper.c')
-rw-r--r-- | target-i386/helper.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c index 46d20e4b89..88bbe65991 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -654,7 +654,7 @@ int x86_cpu_handle_mmu_fault(CPUState *cs, vaddr addr, goto do_fault_protect; } /* fall through */ - case MMU_KSMAP_IDX: + case MMU_KNOSMAP_IDX: if (is_write1 == 2 && (env->cr[4] & CR4_SMEP_MASK) && (ptep & PG_USER_MASK)) { goto do_fault_protect; @@ -716,7 +716,7 @@ int x86_cpu_handle_mmu_fault(CPUState *cs, vaddr addr, goto do_fault_protect; } /* fall through */ - case MMU_KSMAP_IDX: + case MMU_KNOSMAP_IDX: if (is_write1 == 2 && (env->cr[4] & CR4_SMEP_MASK) && (ptep & PG_USER_MASK)) { goto do_fault_protect; @@ -771,7 +771,7 @@ int x86_cpu_handle_mmu_fault(CPUState *cs, vaddr addr, goto do_fault_protect; } /* fall through */ - case MMU_KSMAP_IDX: + case MMU_KNOSMAP_IDX: if (is_write1 == 2 && (env->cr[4] & CR4_SMEP_MASK) && (pde & PG_USER_MASK)) { goto do_fault_protect; @@ -828,7 +828,7 @@ int x86_cpu_handle_mmu_fault(CPUState *cs, vaddr addr, goto do_fault_protect; } /* fall through */ - case MMU_KSMAP_IDX: + case MMU_KNOSMAP_IDX: if (is_write1 == 2 && (env->cr[4] & CR4_SMEP_MASK) && (ptep & PG_USER_MASK)) { goto do_fault_protect; |