Re: [gem5-dev] EthAddr use.

2014-05-23 Thread Anthony Gutierrez via gem5-dev
No I haven't thought about that. I'm not sure what that entails. Do you have any ideas about this already? Anthony Gutierrez http://web.eecs.umich.edu/~atgutier On Fri, May 23, 2014 at 1:49 PM, Steve Reinhardt via gem5-dev < gem5-dev@gem5.org> wrote: > Great! I'll look forward to that. We've

Re: [gem5-dev] EthAddr use.

2014-05-23 Thread Steve Reinhardt via gem5-dev
Great! I'll look forward to that. We've been talking about an Ethernet switch for so long, it will be nice to finally have one. Have you thought about adding in the synchronization needed to parallelize the simulation (separating the simulated hosts across threads)? If not, we might be able to

Re: [gem5-dev] EthAddr use.

2014-05-23 Thread Anthony Gutierrez via gem5-dev
Ah, I didn't notice the '&' there before. The only changes I had to make were to broadcast and to the constructors since I extract the MAC from the packet as an array of uint8_t. I will probably put the switch model and some changes to EthAddr on the reviewboard next week then. Anthony Gutierrez

Re: [gem5-dev] EthAddr use.

2014-05-23 Thread Steve Reinhardt via gem5-dev
Well that's a very different question ;-). The bytes() and addr() methods look fine to me; they're just using '&data[0]' as reverse shorthand for 'data'. The pointer assignments you show look like bugs. I expect that Nate was thinking in terms of structs and not arrays and expecting the whole ad

[gem5-dev] changeset in gem5: ruby: message buffer: drop dequeue_getDelayCy...

2014-05-23 Thread Nilay Vaish via gem5-dev
changeset 056363356d15 in /z/repo/gem5 details: http://repo.gem5.org/gem5?cmd=changeset;node=056363356d15 description: ruby: message buffer: drop dequeue_getDelayCycles() The functionality of updating and returning the delay cycles would now be performed by the dequeue() fu

[gem5-dev] changeset in gem5: ruby: remove old protocol documentation

2014-05-23 Thread Nilay Vaish via gem5-dev
changeset 3ffc86fefc49 in /z/repo/gem5 details: http://repo.gem5.org/gem5?cmd=changeset;node=3ffc86fefc49 description: ruby: remove old protocol documentation diffstat: src/mem/protocol/doc/MSI_MOSI_CMP_directory_2level-protocol-description.txt | 48 -- src/mem/protocol/doc/

[gem5-dev] changeset in gem5: ruby: slicc: remove unused ids DNUCA*

2014-05-23 Thread Nilay Vaish via gem5-dev
changeset 1a85c4fc805c in /z/repo/gem5 details: http://repo.gem5.org/gem5?cmd=changeset;node=1a85c4fc805c description: ruby: slicc: remove unused ids DNUCA* diffstat: src/mem/slicc/symbols/StateMachine.py | 3 +-- src/mem/slicc/symbols/Transition.py | 11 --- src/mem/slicc/s

[gem5-dev] changeset in gem5: stats: changes due to o3 cpu and ruby message...

2014-05-23 Thread Nilay Vaish via gem5-dev
changeset aae7735450a9 in /z/repo/gem5 details: http://repo.gem5.org/gem5?cmd=changeset;node=aae7735450a9 description: stats: changes due to o3 cpu and ruby message buffer patches diffstat: tests/long/fs/10.linux-boot/ref/alpha/linux/tsunami-o3-dual/stats.txt | 2 -

[gem5-dev] changeset in gem5: cpu: o3: remove stat totalCommittedInsts

2014-05-23 Thread Nilay Vaish via gem5-dev
changeset 01df075d9f93 in /z/repo/gem5 details: http://repo.gem5.org/gem5?cmd=changeset;node=01df075d9f93 description: cpu: o3: remove stat totalCommittedInsts This patch removes the stat totalCommittedInsts. This variable was used for recording the total number of instruc

Re: [gem5-dev] EthAddr use.

2014-05-23 Thread Anthony Gutierrez via gem5-dev
I'll clarify the question. I built a simple Ethernet switch model and wanted to use EthAddr to store MAC address in the switch table, which would be a std::map. Looking at the code it seemed EthAddr was only used in the NIC, and in that case it only used the ctor that takes in a string, as well as

[gem5-dev] Cron /z/m5/regression/do-regression quick

2014-05-23 Thread Cron Daemon via gem5-dev
* build/ALPHA/tests/opt/quick/se/00.hello/alpha/linux/o3-timing passed. * build/ALPHA/tests/opt/quick/se/00.hello/alpha/linux/simple-atomic passed. * build/ALPHA/tests/opt/quick/se/00.hello/alpha/linux/simple-timing passed. * build/ALPHA/tests/opt/quick/se/00.hello/alpha/linux/simpl