![]() Cores provide 3 emulation hooks, implemented for example in the new 4xx_emulate.c: kvmppc_core_emulate_op kvmppc_core_emulate_mtspr kvmppc_core_emulate_mfspr Strictly speaking the last two aren't necessary, but provide for more informative error reporting ("unknown SPR"). Long term I'd like to have instruction decoding autogenerated from tables of opcodes, and that way we could aggregate universal, Book E, and core-specific instructions more easily and without redundant switch statements. Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com> Signed-off-by: Avi Kivity <avi@redhat.com> |
||
---|---|---|
.. | ||
44x.c | ||
44x_emulate.c | ||
44x_tlb.c | ||
44x_tlb.h | ||
booke.c | ||
booke.h | ||
booke_interrupts.S | ||
emulate.c | ||
Kconfig | ||
Makefile | ||
powerpc.c |