[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 6/6] sh: use SuperHCPU struct to avoid cpu.h depende
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PATCH 6/6] sh: use SuperHCPU struct to avoid cpu.h dependency |
Date: |
Tue, 15 Dec 2015 15:28:30 +0100 |
Signed-off-by: Paolo Bonzini <address@hidden>
---
include/hw/sh4/sh.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/include/hw/sh4/sh.h b/include/hw/sh4/sh.h
index e61de9a..32f688c 100644
--- a/include/hw/sh4/sh.h
+++ b/include/hw/sh4/sh.h
@@ -8,10 +8,11 @@
#define P4ADDR(x) ((x) | 0xe0000000)
/* sh7750.c */
+struct SuperHCPU;
struct SH7750State;
struct MemoryRegion;
-struct SH7750State *sh7750_init(SuperHCPU *cpu, struct MemoryRegion *sysmem);
+struct SH7750State *sh7750_init(struct SuperHCPU *cpu, struct MemoryRegion
*sysmem);
typedef struct {
/* The callback will be triggered if any of the designated lines change */
--
1.8.3.1
- [Qemu-devel] [RFC PATCH 0/6] decouple board headers from cpu.h, Paolo Bonzini, 2015/12/15
- [Qemu-devel] [PATCH 2/6] mips: use struct CPUMIPSState to avoid need for cpu.h, Paolo Bonzini, 2015/12/15
- [Qemu-devel] [PATCH 3/6] ppc: use struct to avoid the need for cpu.h, Paolo Bonzini, 2015/12/15
- [Qemu-devel] [PATCH 5/6] coldfire: use "struct M68kCPU" in header files, Paolo Bonzini, 2015/12/15
- [Qemu-devel] [PATCH 4/6] alpha: use AlphaCPU as an opaque type, Paolo Bonzini, 2015/12/15
- [Qemu-devel] [PATCH 1/6] arm: use "struct ARMCPU" in header files, Paolo Bonzini, 2015/12/15
- [Qemu-devel] [PATCH 6/6] sh: use SuperHCPU struct to avoid cpu.h dependency,
Paolo Bonzini <=
- Re: [Qemu-devel] [RFC PATCH 0/6] decouple board headers from cpu.h, Peter Maydell, 2015/12/15