]> git.proxmox.com Git - qemu.git/blobdiff - target-ppc/cpu-qom.h
virtio-net: add virtio_net_set_netclient_name.
[qemu.git] / target-ppc / cpu-qom.h
index 09bfae3d546ad530843e052dc19678eff64cf118..eb03a00799b2ab69a944ce25ab31aa76059ec228 100644 (file)
@@ -63,11 +63,16 @@ typedef struct PowerPCCPUClass {
     powerpc_input_t bus_model;
     uint32_t flags;
     int bfd_mach;
+    uint32_t l1_dcache_size, l1_icache_size;
 #if defined(TARGET_PPC64)
     const struct ppc_segment_page_sizes *sps;
 #endif
     void (*init_proc)(CPUPPCState *env);
     int  (*check_pow)(CPUPPCState *env);
+#if defined(CONFIG_SOFTMMU)
+    int (*handle_mmu_fault)(CPUPPCState *env, target_ulong eaddr, int rwx,
+                            int mmu_idx);
+#endif
 } PowerPCCPUClass;
 
 /**