> initiateAcc looks something like the following:
>
> Fault initiateAcc(..., traceData,...)
> {
>    ...
>    write(); <<< traceData becomes invalid in here
>    if (traceData) traceData->setData(Mem);
>    ...
> }
>
> so I'm not sure how that would work.

Why is traceData passed in as a parameter and not just grabbed from
whatever the first parameter of the function is (i.e. the dyn inst or
the CPU object)?

  Nate
_______________________________________________
m5-dev mailing list
m5-dev@m5sim.org
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to