summaryrefslogtreecommitdiff
path: root/src/dev/x86
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2014-09-03 07:43:06 -0400
committerAli Saidi <Ali.Saidi@ARM.com>2014-09-03 07:43:06 -0400
commit346fe7337009980566e023a60a09391ed893a5c0 (patch)
tree3fe6cae924a1fd6dae410fb83f7c837f6392eb34 /src/dev/x86
parent1c0ae90027f0aea96389d0b82f2c732df72fc06c (diff)
downloadgem5-346fe7337009980566e023a60a09391ed893a5c0.tar.xz
dev: seperate legacy io offsets from PCI offset
The PC platform has a single IO range that is used both legacy IO and PCI IO while other platforms may use seperate regions. Provide another mechanism to configure the legacy IO base address range and set it to the PCI IO address range for x86.
Diffstat (limited to 'src/dev/x86')
-rw-r--r--src/dev/x86/SouthBridge.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dev/x86/SouthBridge.py b/src/dev/x86/SouthBridge.py
index 45c49ce3a..911853dd5 100644
--- a/src/dev/x86/SouthBridge.py
+++ b/src/dev/x86/SouthBridge.py
@@ -84,6 +84,7 @@ class SouthBridge(SimObject):
ide.ProgIF = 0x80
ide.InterruptLine = 14
ide.InterruptPin = 1
+ ide.LegacyIOBase = x86IOAddress(0)
def attachIO(self, bus, dma_ports):
# Route interupt signals