dev/ide_disk.cc:
Make ide disk set interrupts correctly.
dev/tsunami_io.cc:
dev/tsunami_io.hh:
Implement read of timer counts.
kern/freebsd/freebsd_system.cc:
kern/freebsd/freebsd_system.hh:
Remove SkipFuncEvents that we don't need to skip.
python/m5/objects/Tsunami.py:
Add size parameter to TsunamiFake class.
--HG--
extra : convert_revision : a87e74f2cac0036060ca8cb3fde4760d8c91a5db
28 lines
840 B
Python
28 lines
840 B
Python
from m5 import *
|
|
from Device import FooPioDevice
|
|
from Platform import Platform
|
|
|
|
class Tsunami(Platform):
|
|
type = 'Tsunami'
|
|
pciconfig = Param.PciConfigAll("PCI configuration")
|
|
system = Param.System(Parent.any, "system")
|
|
|
|
class TsunamiCChip(FooPioDevice):
|
|
type = 'TsunamiCChip'
|
|
tsunami = Param.Tsunami(Parent.any, "Tsunami")
|
|
|
|
class TsunamiFake(FooPioDevice):
|
|
type = 'TsunamiFake'
|
|
size = Param.Addr("Size of address range")
|
|
|
|
class TsunamiIO(FooPioDevice):
|
|
type = 'TsunamiIO'
|
|
time = Param.UInt64(1136073600,
|
|
"System time to use (0 for actual time, default is 1/1/06)")
|
|
tsunami = Param.Tsunami(Parent.any, "Tsunami")
|
|
frequency = Param.Frequency('1024Hz', "frequency of interrupts")
|
|
|
|
class TsunamiPChip(FooPioDevice):
|
|
type = 'TsunamiPChip'
|
|
tsunami = Param.Tsunami(Parent.any, "Tsunami")
|