From 64b72130463f217bc2ce3e592630406e9f832d16 Mon Sep 17 00:00:00 2001 From: Kevin Lim Date: Thu, 27 Jul 2006 16:43:02 -0400 Subject: Need config read/write latency. --HG-- extra : convert_revision : 2d978635db89e727f228890738b24fcad9b6ced6 --- src/dev/sinic.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/dev/sinic.cc') diff --git a/src/dev/sinic.cc b/src/dev/sinic.cc index 815cecca5..40bf29c87 100644 --- a/src/dev/sinic.cc +++ b/src/dev/sinic.cc @@ -1639,6 +1639,7 @@ BEGIN_DECLARE_SIM_OBJECT_PARAMS(Device) Param pci_dev; Param pci_func; Param pio_latency; + Param config_latency; Param intr_delay; Param clock; @@ -1681,6 +1682,7 @@ BEGIN_INIT_SIM_OBJECT_PARAMS(Device) INIT_PARAM(pci_dev, "PCI device number"), INIT_PARAM(pci_func, "PCI function code"), INIT_PARAM_DFLT(pio_latency, "Programmed IO latency in bus cycles", 1), + INIT_PARAM(config_latency, "Number of cycles for a config read or write"), INIT_PARAM(intr_delay, "Interrupt Delay"), INIT_PARAM(clock, "State machine cycle time"), @@ -1725,6 +1727,7 @@ CREATE_SIM_OBJECT(Device) params->deviceNum = pci_dev; params->functionNum = pci_func; params->pio_delay = pio_latency; + params->config_delay = config_latency; params->intr_delay = intr_delay; params->clock = clock; -- cgit v1.2.3