static target_ulong h_xirr_x(PowerPCCPU *cpu, sPAPRMachineState *spapr, target_ulong opcode, target_ulong *args) { uint32_t xirr = icp_accept(ICP(cpu->intc)); args[0] = xirr; args[1] = cpu_get_host_ticks(); return H_SUCCESS; }
static target_ulong h_xirr_x(PowerPCCPU *cpu, sPAPRMachineState *spapr, target_ulong opcode, target_ulong *args) { CPUState *cs = CPU(cpu); ICPState *ss = &spapr->icp->ss[cs->cpu_index]; uint32_t xirr = icp_accept(ss); args[0] = xirr; args[1] = cpu_get_host_ticks(); return H_SUCCESS; }