linux-user: fix ppc target_stat64 st_blocks layout
[qemu] / hw / sh.h
diff --git a/hw/sh.h b/hw/sh.h
index 842af59..d30e9f5 100644 (file)
--- a/hw/sh.h
+++ b/hw/sh.h
@@ -4,6 +4,9 @@
 
 #include "sh_intc.h"
 
+#define A7ADDR(x) ((x) & 0x1fffffff)
+#define P4ADDR(x) ((x) | 0xe0000000)
+
 /* sh7750.c */
 struct SH7750State;
 
@@ -42,11 +45,10 @@ void sh_serial_init (target_phys_addr_t base, int feat,
                     qemu_irq tei_source,
                     qemu_irq bri_source);
 
+/* sh7750.c */
+qemu_irq sh7750_irl(struct SH7750State *s);
+
 /* tc58128.c */
 int tc58128_init(struct SH7750State *s, const char *zone1, const char *zone2);
 
-/* ide.c */
-void mmio_ide_init(target_phys_addr_t membase, target_phys_addr_t membase2,
-                   qemu_irq irq, int shift,
-                   BlockDriverState *hd0, BlockDriverState *hd1);
 #endif