X-Git-Url: https://repo.jachan.dev/qemu.git/blobdiff_plain/4e7ed2d1d396feac872c727a0700fdb5a86641e2..1431b6a17e6546569e09bcf8fb7773c925658d8f:/hw/sh.h diff --git a/hw/sh.h b/hw/sh.h index 15c58cb91c..5e3c22bbb9 100644 --- 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,7 +45,14 @@ 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