summaryrefslogtreecommitdiff
path: root/configs/common
diff options
context:
space:
mode:
authorAli Saidi <Ali.Saidi@ARM.com>2010-11-15 14:04:03 -0600
committerAli Saidi <Ali.Saidi@ARM.com>2010-11-15 14:04:03 -0600
commitd7b8efa0df98db9a41038ce4588c006ff4a56d38 (patch)
treee74e7121b5c73415e80fdb44a92030e6c8f8223b /configs/common
parent13931b9b827abd8a9fba5cb4448b69066746637c (diff)
downloadgem5-d7b8efa0df98db9a41038ce4588c006ff4a56d38.tar.xz
ARM: Add support for a dumb IDE controller
Diffstat (limited to 'configs/common')
-rw-r--r--configs/common/FSConfig.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/configs/common/FSConfig.py b/configs/common/FSConfig.py
index fe57b5cab..53ab06813 100644
--- a/configs/common/FSConfig.py
+++ b/configs/common/FSConfig.py
@@ -209,6 +209,16 @@ def makeLinuxArmSystem(mem_mode, mdesc = None, bare_metal=False,
self.mem_mode = mem_mode
+ #self.cf0 = CowIdeDisk(driveID='master')
+ #self.cf0.childImage(mdesc.disk())
+ #self.cf_ctrl = IdeController(disks=[self.cf0],
+ # pci_func = 0, pci_dev = 0, pci_bus = 0,
+ # io_shift = 1, ctrl_offset = 2, Command = 0x1,
+ # BAR0 = 0x18000000, BAR0Size = '16B',
+ # BAR1 = 0x18000100, BAR1Size = '1B',
+ # BAR0LegacyIO = True, BAR1LegacyIO = True,)
+ #self.cf_ctrl.pio = self.iobus.port
+
if machine_type == "RealView_PBX":
self.realview = RealViewPBX()
elif machine_type == "RealView_EB":