[m5-dev] shadow parameter definitions

2008-08-19 Thread Gabe Black
I just figured out a rather annoying bug in the CPU where the profile event got scheduled at a totally bogus time which killed the simulation. The problem is that there's a profile parameter in both the atomic simple CPU and the base CPU. The atomic simple CPU sets it's version of profile

Re: [m5-dev] shadow parameter definitions

2008-08-19 Thread nathan binkert
There's several different things I can see as the right thing to do in this situation, but I'm sure what it's doing right now isn't it. First, we could say this sort of thing (params overwriting each other) is illegal, and we throw an error when it happens. This seems the most reasonable

Re: [m5-dev] shadow parameter definitions

2008-08-19 Thread Gabe Black
nathan binkert wrote: There's several different things I can see as the right thing to do in this situation, but I'm sure what it's doing right now isn't it. First, we could say this sort of thing (params overwriting each other) is illegal, and we throw an error when it happens. This seems