# 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