diff options
author | Kevin Lim <ktlim@umich.edu> | 2006-11-07 14:24:31 -0500 |
---|---|---|
committer | Kevin Lim <ktlim@umich.edu> | 2006-11-07 14:24:31 -0500 |
commit | 244e0c884c60c141ea1bc63bb93e0aee25d6a854 (patch) | |
tree | 750339e9f4a9026b9365e5e52e600adc53afbe27 /src/python | |
parent | 4589ec55aed596a4b0b7d81779f2b4665643d223 (diff) | |
download | gem5-244e0c884c60c141ea1bc63bb93e0aee25d6a854.tar.xz |
Remove hack by setting configuration better.
src/dev/isa_fake.cc:
src/dev/isa_fake.hh:
No need for specialized init() function any more.
src/python/m5/objects/Tsunami.py:
Override responder when set by user. This avoids having bus.responder floating around and not doing anything when the user has specified their own default responder.
--HG--
extra : convert_revision : c547daf15b23a889c98e62bfd53c293c85d7a041
Diffstat (limited to 'src/python')
-rw-r--r-- | src/python/m5/objects/Tsunami.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/python/m5/objects/Tsunami.py b/src/python/m5/objects/Tsunami.py index 78ab65b31..ffe93727b 100644 --- a/src/python/m5/objects/Tsunami.py +++ b/src/python/m5/objects/Tsunami.py @@ -76,6 +76,7 @@ class Tsunami(Platform): self.pchip.pio = bus.port self.pciconfig.pio = bus.default bus.responder_set = True + bus.responder = self.pciconfig self.fake_sm_chip.pio = bus.port self.fake_uart1.pio = bus.port self.fake_uart2.pio = bus.port |