Mostly IO modifications, to increase compatibility with FreeBSD.

dev/pcidev.cc:
    Allow writes to some PCI read-only registers.
    Fix problem when writing to a zero offset IO location.
dev/tsunami_io.cc:
    Fix calculation of IO addresses.
    Add registers for keyboard and PCI DMA.
dev/tsunamireg.h:
    Add registers for keyboard and PCI DMA.
python/m5/objects/System.py:
    Allow generic System to be instantiated.

--HG--
extra : convert_revision : 1b985ffa2b8e15aa55246f1d14da615c32ecd3f9
This commit is contained in:
Benjamin Nash
2005-06-09 15:01:15 -04:00
parent 4cc9fbf61d
commit c4fdfa3844
4 changed files with 38 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
from m5 import *
class System(SimObject):
type = 'BaseSystem'
#type = 'BaseSystem'
type = 'System'
boot_cpu_frequency = Param.Frequency(Self.cpu[0].clock.frequency,
"boot processor frequency")
memctrl = Param.MemoryController(Parent.any, "memory controller")