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
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user