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
15 lines
464 B
Python
15 lines
464 B
Python
from m5 import *
|
|
from MemObject import MemObject
|
|
|
|
class PioDevice(MemObject):
|
|
type = 'PioDevice'
|
|
abstract = True
|
|
platform = Param.Platform(Parent.any, "Platform this device is part of")
|
|
system = Param.System(Parent.any, "System this device is part of")
|
|
|
|
class BasicPioDevice(PioDevice):
|
|
type = 'BasicPioDevice'
|
|
abstract = True
|
|
pio_addr = Param.Addr("Device Address")
|
|
pio_latency = Param.Tick(1, "Programmed IO latency in simticks")
|