summaryrefslogtreecommitdiff
path: root/src/python
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-01-09 22:16:49 -0500
committerAli Saidi <saidi@eecs.umich.edu>2007-01-09 22:16:49 -0500
commit7933aade85a61ba745a9dd694b26b7420b7e649c (patch)
tree81615f5029a926978da67fb1170240abfd8b5200 /src/python
parenta8b2d66661e4be7cf5d5856f75f3f0e7849c5a9f (diff)
downloadgem5-7933aade85a61ba745a9dd694b26b7420b7e649c.tar.xz
add memory mapped disk device
configs/common/FSConfig.py: src/python/m5/objects/T1000.py: add configuration for memory mapped disk src/dev/sparc/SConscript: add memory mapped disk to sconscript --HG-- extra : convert_revision : d8df4a455cf48000042d0ff93a274985f4dbe905
Diffstat (limited to 'src/python')
-rw-r--r--src/python/m5/objects/T1000.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/python/m5/objects/T1000.py b/src/python/m5/objects/T1000.py
index 79195d976..030f4abd8 100644
--- a/src/python/m5/objects/T1000.py
+++ b/src/python/m5/objects/T1000.py
@@ -5,6 +5,12 @@ from Uart import Uart8250
from Platform import Platform
from SimConsole import SimConsole, ConsoleListener
+
+class MmDisk(BasicPioDevice):
+ type = 'MmDisk'
+ image = Param.DiskImage("Disk Image")
+ pio_addr = 0x1F40000000
+
class T1000(Platform):
type = 'T1000'
system = Param.System(Parent.any, "system")