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
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)
class EtherDump(SimObject):
type = 'EtherDump'
file = Param.String("dump file")
+ maxlen = Param.Int(96, "max portion of packet data to dump")
if build_env['ALPHA_TLASER']: