This should be packet: instead of m5:

And just as an aside, we really need to get rid of these functions
that just test a flag and make it easy to test the flags directly.

  Nate

On Thu, Mar 18, 2010 at 2:47 PM, Brad Beckmann <[email protected]> wrote:
> # HG changeset patch
> # User Brad Beckmann <[email protected]>
> # Date 1268941833 25200
> # Node ID 72dbe1329a92ae7cfdde56e439715db8a5af66f3
> # Parent  7b9079a51a5292285396cf2c43015d89f8c27cc0
> m5: Added public method to determine if the packet includes data
>
> diff --git a/src/mem/packet.hh b/src/mem/packet.hh
> --- a/src/mem/packet.hh
> +++ b/src/mem/packet.hh
> @@ -730,6 +730,11 @@
>         data = new uint8_t[getSize()];
>     }
>
> +    bool
> +    includesDynamicData()
> +    {
> +        return flags.isSet(DYNAMIC_DATA);
> +    }
>
>     /**
>      * Check a functional request against a memory value represented
>
> _______________________________________________
> m5-dev mailing list
> [email protected]
> http://m5sim.org/mailman/listinfo/m5-dev
>
>
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev

Reply via email to