From 1e5459a3fa01824c18272fb840f43e3c138dee76 Mon Sep 17 00:00:00 2001 From: balrog Date: Sun, 7 Dec 2008 19:08:45 +0000 Subject: SH: On-chip PCI controller support (Takashi YOSHII). This patch adds SuperH on-chip PCI controller(PCIC) support. Signed-off-by: Takashi YOSHII Signed-off-by: Andrzej Zaborowski git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5927 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-sh4/helper.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'target-sh4') diff --git a/target-sh4/helper.c b/target-sh4/helper.c index c536015cfe..f077462f7d 100644 --- a/target-sh4/helper.c +++ b/target-sh4/helper.c @@ -439,6 +439,9 @@ int get_physical_address(CPUState * env, target_ulong * physical, if (address >= 0x80000000 && address < 0xc0000000) { /* Mask upper 3 bits for P1 and P2 areas */ *physical = address & 0x1fffffff; + } else if (address >= 0xfd000000 && address < 0xfe000000) { + /* PCI memory space */ + *physical = address; } else if (address >= 0xfc000000) { /* * Mask upper 3 bits for control registers in P4 area, -- cgit v1.2.3