f6fc18f03d
SConscript: easier to fix than temporarily remove cpu/simple/cpu.cc: cpu/simple/cpu.hh: mem needed for both fullsys and syscall dev/baddev.cc: fix for new mem system dev/io_device.cc: fix typo dev/io_device.hh: PioDevice needs to be a memobject dev/isa_fake.cc: dev/pciconfigall.cc: dev/pciconfigall.hh: fix for new mem systems dev/platform.cc: dev/platform.hh: dev/tsunami.cc: dev/tsunami.hh: rather than the platform have a pointer to pciconfig, go the other way so all devices are the same and can have a platform pointer dev/tsunami_cchip.cc: dev/tsunami_io.cc: dev/tsunami_io.hh: dev/tsunami_pchip.cc: dev/tsunami_pchip.hh: dev/uart8250.cc: python/m5/objects/AlphaConsole.py: python/m5/objects/BadDevice.py: python/m5/objects/BaseCPU.py: python/m5/objects/Device.py: python/m5/objects/Pci.py: python/m5/objects/PhysicalMemory.py: python/m5/objects/System.py: python/m5/objects/Tsunami.py: python/m5/objects/Uart.py: fixes for newmem --HG-- extra : convert_revision : b7b67e19095cca64889f6307725aa2f3d84c7105
27 lines
852 B
Python
27 lines
852 B
Python
from m5 import *
|
|
from Device import BasicPioDevice
|
|
from Platform import Platform
|
|
|
|
class Tsunami(Platform):
|
|
type = 'Tsunami'
|
|
# pciconfig = Param.PciConfigAll("PCI configuration")
|
|
system = Param.System(Parent.any, "system")
|
|
|
|
class TsunamiCChip(BasicPioDevice):
|
|
type = 'TsunamiCChip'
|
|
tsunami = Param.Tsunami(Parent.any, "Tsunami")
|
|
|
|
class IsaFake(BasicPioDevice):
|
|
type = 'IsaFake'
|
|
pio_size = Param.Addr(0x8, "Size of address range")
|
|
|
|
class TsunamiIO(BasicPioDevice):
|
|
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(BasicPioDevice):
|
|
type = 'TsunamiPChip'
|
|
tsunami = Param.Tsunami(Parent.any, "Tsunami")
|