Revision 210b580b hw/ppc/xics.c
b/hw/ppc/xics.c | ||
---|---|---|
400 | 400 |
return H_SUCCESS; |
401 | 401 |
} |
402 | 402 |
|
403 |
static void rtas_set_xive(sPAPREnvironment *spapr, uint32_t token, |
|
403 |
static void rtas_set_xive(PowerPCCPU *cpu, sPAPREnvironment *spapr, |
|
404 |
uint32_t token, |
|
404 | 405 |
uint32_t nargs, target_ulong args, |
405 | 406 |
uint32_t nret, target_ulong rets) |
406 | 407 |
{ |
... | ... | |
427 | 428 |
rtas_st(rets, 0, 0); /* Success */ |
428 | 429 |
} |
429 | 430 |
|
430 |
static void rtas_get_xive(sPAPREnvironment *spapr, uint32_t token, |
|
431 |
static void rtas_get_xive(PowerPCCPU *cpu, sPAPREnvironment *spapr, |
|
432 |
uint32_t token, |
|
431 | 433 |
uint32_t nargs, target_ulong args, |
432 | 434 |
uint32_t nret, target_ulong rets) |
433 | 435 |
{ |
... | ... | |
451 | 453 |
rtas_st(rets, 2, ics->irqs[nr - ics->offset].priority); |
452 | 454 |
} |
453 | 455 |
|
454 |
static void rtas_int_off(sPAPREnvironment *spapr, uint32_t token, |
|
456 |
static void rtas_int_off(PowerPCCPU *cpu, sPAPREnvironment *spapr, |
|
457 |
uint32_t token, |
|
455 | 458 |
uint32_t nargs, target_ulong args, |
456 | 459 |
uint32_t nret, target_ulong rets) |
457 | 460 |
{ |
... | ... | |
476 | 479 |
rtas_st(rets, 0, 0); /* Success */ |
477 | 480 |
} |
478 | 481 |
|
479 |
static void rtas_int_on(sPAPREnvironment *spapr, uint32_t token, |
|
482 |
static void rtas_int_on(PowerPCCPU *cpu, sPAPREnvironment *spapr, |
|
483 |
uint32_t token, |
|
480 | 484 |
uint32_t nargs, target_ulong args, |
481 | 485 |
uint32_t nret, target_ulong rets) |
482 | 486 |
{ |
Also available in: Unified diff