summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2005-04-24 21:32:32 -0400
committerNathan Binkert <binkertn@umich.edu>2005-04-24 21:32:32 -0400
commit3154e2a0c75d6e95458d86b30c982efc003c1f68 (patch)
treeda13a3d29c4be79aea25b8a42e2df500df835ea5 /python
parent6f9dba3cec9fd638c274dc0dc7ebfb4f2db74883 (diff)
downloadgem5-3154e2a0c75d6e95458d86b30c982efc003c1f68.tar.xz
Add the m5 parameter to the ns83820 device model so that we
can pass simulator specific options to the device driver. dev/ns_gige.cc: Add the m5 register and parameter to the ns83820 device model so that we can pass simulator specific options to the device driver. dev/ns_gige.hh: dev/ns_gige_reg.h: Add the m5 register to the ns83820 device model --HG-- extra : convert_revision : 84674887560fa3b607e725b8e5bc8272761fcf09
Diffstat (limited to 'python')
-rw-r--r--python/m5/objects/Ethernet.mpy2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/m5/objects/Ethernet.mpy b/python/m5/objects/Ethernet.mpy
index ed95ce233..7cc58421a 100644
--- a/python/m5/objects/Ethernet.mpy
+++ b/python/m5/objects/Ethernet.mpy
@@ -72,6 +72,8 @@ simobj NSGigE(PciDevice):
rx_fifo_size = Param.MemorySize('128kB', "max size in bytes of rxFifo")
tx_fifo_size = Param.MemorySize('128kB', "max size in bytes of txFifo")
+ m5reg = Param.UInt32(0, "Register for m5 usage")
+
intr_delay = Param.Latency('0us', "Interrupt Delay in microseconds")
payload_bus = Param.Bus(NULL, "The IO Bus to attach to for payload")
physmem = Param.PhysicalMemory(parent.any, "Physical Memory")