diff options
author | Nathan Binkert <binkertn@umich.edu> | 2005-09-17 10:47:16 -0400 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2005-09-17 10:47:16 -0400 |
commit | f88d7c7456ed0064316ef46b59ab71a3c25e91f1 (patch) | |
tree | 33e4a9c64e32f53e6731ca1701886814ad00f868 /dev | |
parent | 36b9e9fcdad06d5e927ebd2ef91873f72f088041 (diff) | |
download | gem5-f88d7c7456ed0064316ef46b59ab71a3c25e91f1.tar.xz |
Fix the EtherDump parameters
dev/etherdump.cc:
no default parameters anymore they should be in python
python/m5/objects/Ethernet.py:
move the maxlen parameter for EtherDump into python
--HG--
extra : convert_revision : a796353a68907dfeb22059cd3ad536e6e8f60998
Diffstat (limited to 'dev')
-rw-r--r-- | dev/etherdump.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dev/etherdump.cc b/dev/etherdump.cc index 9e02a4f0f..d8a51fc5b 100644 --- a/dev/etherdump.cc +++ b/dev/etherdump.cc @@ -123,8 +123,8 @@ END_DECLARE_SIM_OBJECT_PARAMS(EtherDump) BEGIN_INIT_SIM_OBJECT_PARAMS(EtherDump) - INIT_PARAM_DFLT(file, "file to dump packets to", "etherdump"), - INIT_PARAM_DFLT(maxlen, "max portion of packet data to dump", 96) + INIT_PARAM(file, "file to dump packets to"), + INIT_PARAM(maxlen, "max portion of packet data to dump") END_INIT_SIM_OBJECT_PARAMS(EtherDump) |