#include <asm/kvm_emulate.h>
#include <asm/kvm_host.h>
Go to the source code of this file.
◆ __kvm_skip_instr()
static void __kvm_skip_instr |
( |
struct kvm_vcpu * |
vcpu | ) |
|
|
inlinestatic |
Definition at line 33 of file adjust_pc.h.
35 *vcpu_pc(vcpu) = read_sysreg_el2(SYS_ELR);
36 vcpu_gp_regs(vcpu)->pstate = read_sysreg_el2(SYS_SPSR);
40 write_sysreg_el2(vcpu_gp_regs(vcpu)->pstate, SYS_SPSR);
41 write_sysreg_el2(*vcpu_pc(vcpu), SYS_ELR);
static void kvm_skip_instr(struct kvm_vcpu *vcpu)
◆ kvm_skip_host_instr()
static void kvm_skip_host_instr |
( |
void |
| ) |
|
|
inlinestatic |
Definition at line 48 of file adjust_pc.h.
50 write_sysreg_el2(read_sysreg_el2(SYS_ELR) + 4, SYS_ELR);
◆ kvm_skip_instr()
static void kvm_skip_instr |
( |
struct kvm_vcpu * |
vcpu | ) |
|
|
inlinestatic |
Definition at line 16 of file adjust_pc.h.
18 if (vcpu_mode_is_32bit(vcpu)) {
22 *vcpu_cpsr(vcpu) &= ~PSR_BTYPE_MASK;
26 *vcpu_cpsr(vcpu) &= ~DBG_SPSR_SS;
void kvm_skip_instr32(struct kvm_vcpu *vcpu)