Displaying 2 results from an estimated 2 matches for "reflect_interruption".
2008 Mar 28
0
[14/17][PATCH] kvm/ia64: Add guest interruption injection support.
...+ if (!bundle.i64[0] && !bundle.i64[1]) {
>+ return -EACCES;
>+ }
>+
>+ ret = vmm_fp_emulate(fp_fault, &bundle, ®s->cr_ipsr,
>®s->ar_fpsr,
>+ &isr, ®s->pr, ®s->cr_ifs, regs);
>+ return ret.status;
>+}
>+
>+void reflect_interruption(u64 ifa, u64 isr, u64 iim,
>+ u64 vec, REGS *regs)
>+{
>+ u64 vector;
>+ int status ;
>+ VCPU *vcpu = current_vcpu;
>+ u64 vpsr = VCPU(vcpu, vpsr);
>+
>+ vector = vec2off[vec];
>+
>+ if (!(vpsr & IA64_PSR_IC) && (vector !=
>IA64_DATA_NESTED_TLB_VECTOR))...
2008 Mar 28
0
[14/17][PATCH] kvm/ia64: Add guest interruption injection support.
...+ if (!bundle.i64[0] && !bundle.i64[1]) {
>+ return -EACCES;
>+ }
>+
>+ ret = vmm_fp_emulate(fp_fault, &bundle, ®s->cr_ipsr,
>®s->ar_fpsr,
>+ &isr, ®s->pr, ®s->cr_ifs, regs);
>+ return ret.status;
>+}
>+
>+void reflect_interruption(u64 ifa, u64 isr, u64 iim,
>+ u64 vec, REGS *regs)
>+{
>+ u64 vector;
>+ int status ;
>+ VCPU *vcpu = current_vcpu;
>+ u64 vpsr = VCPU(vcpu, vpsr);
>+
>+ vector = vec2off[vec];
>+
>+ if (!(vpsr & IA64_PSR_IC) && (vector !=
>IA64_DATA_NESTED_TLB_VECTOR))...