37 unsigned int inst,
int *advance)
40 int dcrn = get_dcrn(inst);
41 int ra = get_ra(inst);
42 int rb = get_rb(inst);
43 int rc = get_rc(inst);
44 int rs = get_rs(inst);
45 int rt = get_rt(inst);
46 int ws = get_ws(inst);
48 switch (get_op(inst)) {
50 switch (get_xop(inst)) {
65 kvmppc_set_gpr(vcpu, rt, vcpu->
arch.cpr0_cfgaddr);
70 vcpu->
arch.cpr0_cfgaddr);
71 kvmppc_set_gpr(vcpu, rt,
78 run->
dcr.is_write = 0;
79 vcpu->
arch.io_gpr = rt;
80 vcpu->
arch.dcr_needed = 1;
91 vcpu->
arch.cpr0_cfgaddr = kvmppc_get_gpr(vcpu, rs);
95 run->
dcr.data = kvmppc_get_gpr(vcpu, rs);
96 run->
dcr.is_write = 1;
97 vcpu->
arch.dcr_needed = 1;
139 vcpu->
arch.mmucr = spr_val;
break;
141 vcpu->
arch.ccr0 = spr_val;
break;
143 vcpu->
arch.ccr1 = spr_val;
break;
157 *spr_val = vcpu->
arch.pid;
break;
159 *spr_val = vcpu->
arch.mmucr;
break;
161 *spr_val = vcpu->
arch.ccr0;
break;
163 *spr_val = vcpu->
arch.ccr1;
break;