]> git.proxmox.com Git - mirror_qemu.git/blobdiff - target-s390x/cpu.h
Move TARGET_PHYS_ADDR_SPACE_BITS to target-*/cpu.h.
[mirror_qemu.git] / target-s390x / cpu.h
index 827f4e33dc4289b80388179a821cf53581c7c047..dd407b2424ff2aad025900b53808c31a36b462d0 100644 (file)
@@ -99,6 +99,11 @@ int cpu_s390x_handle_mmu_fault (CPUS390XState *env, target_ulong address, int rw
 
 #define TARGET_PAGE_BITS 12
 
+/* ??? This is certainly wrong for 64-bit s390x, but given that only KVM
+   emulation actually works, this is good enough for a placeholder.  */
+#define TARGET_PHYS_ADDR_SPACE_BITS 32
+#define TARGET_VIRT_ADDR_SPACE_BITS 32
+
 #ifndef CONFIG_USER_ONLY
 extern int s390_virtio_hypercall(CPUState *env);
 extern void kvm_s390_virtio_irq(CPUState *env, int config_change, uint64_t token);