summaryrefslogtreecommitdiff
path: root/src/dev/x86/Pc.py
diff options
context:
space:
mode:
authorBinh Pham <binhpham@cs.rutgers.edu>2014-07-18 22:05:51 -0700
committerBinh Pham <binhpham@cs.rutgers.edu>2014-07-18 22:05:51 -0700
commitc99b13d90456637e68ef91845a10688900f8bf48 (patch)
tree9e03da5b8740935cfc0971ac3c178ec52a3e9797 /src/dev/x86/Pc.py
parentfe530648d50a4b87e808691d96a1fcfec89145e3 (diff)
downloadgem5-c99b13d90456637e68ef91845a10688900f8bf48.tar.xz
x86: make PioBus return BadAddress errors
Stop setting the use_default_range flag in PioBus in order to have random bad addresses result in a BadAddress response and not a gem5 fatal error. This is necessary in Ruby as Ruby is connected directly to PioBus, so misspeculated addresses will be sent there directly. For the classic memory system, this change has no effect, as bad addresses are caught by the memory bus before being sent to the PioBus. This work was done while Binh was an intern at AMD Research.
Diffstat (limited to 'src/dev/x86/Pc.py')
-rw-r--r--src/dev/x86/Pc.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/dev/x86/Pc.py b/src/dev/x86/Pc.py
index bd8b2ad98..1f1f3ca89 100644
--- a/src/dev/x86/Pc.py
+++ b/src/dev/x86/Pc.py
@@ -79,4 +79,3 @@ class Pc(Platform):
self.fake_com_4.pio = bus.master
self.fake_floppy.pio = bus.master
self.pciconfig.pio = bus.default
- bus.use_default_range = True