Home
last modified time | relevance | path

Searched refs:spapr_hcall_fn (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/hw/ppc/
H A Dspapr_hcall.c1501 static spapr_hcall_fn papr_hypercall_table[(MAX_HCALL_OPCODE / 4) + 1];
1502 static spapr_hcall_fn kvmppc_hypercall_table[KVMPPC_HCALL_MAX - KVMPPC_HCALL_BASE + 1];
1503 static spapr_hcall_fn svm_hypercall_table[(SVM_HCALL_MAX - SVM_HCALL_BASE) / 4 + 1];
1505 void spapr_register_hypercall(target_ulong opcode, spapr_hcall_fn fn) in spapr_register_hypercall()
1507 spapr_hcall_fn *slot; in spapr_register_hypercall()
1530 spapr_hcall_fn *slot; in spapr_unregister_hypercall()
1557 spapr_hcall_fn fn = papr_hypercall_table[opcode / 4]; in spapr_hypercall()
1564 spapr_hcall_fn fn = svm_hypercall_table[(opcode - SVM_HCALL_BASE) / 4]; in spapr_hypercall()
1571 spapr_hcall_fn fn = kvmppc_hypercall_table[opcode - KVMPPC_HCALL_BASE]; in spapr_hypercall()
/openbmc/qemu/include/hw/ppc/
H A Dspapr.h640 typedef target_ulong (*spapr_hcall_fn)(PowerPCCPU *cpu, SpaprMachineState *sm, typedef
644 void spapr_register_hypercall(target_ulong opcode, spapr_hcall_fn fn);