summaryrefslogtreecommitdiff
path: root/src/cpu/testers/traffic_gen/generators.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpu/testers/traffic_gen/generators.hh')
-rw-r--r--src/cpu/testers/traffic_gen/generators.hh7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/cpu/testers/traffic_gen/generators.hh b/src/cpu/testers/traffic_gen/generators.hh
index 899a3c078..b6c70037a 100644
--- a/src/cpu/testers/traffic_gen/generators.hh
+++ b/src/cpu/testers/traffic_gen/generators.hh
@@ -75,8 +75,10 @@ class BaseGen
* @param addr Physical address to use
* @param size Size of the request
* @param cmd Memory command to send
+ * @param flags Optional request flags
*/
- void send(Addr addr, unsigned size, const MemCmd& cmd);
+ void send(Addr addr, unsigned size, const MemCmd& cmd,
+ Request::FlagsType flags = 0);
public:
@@ -328,6 +330,9 @@ class TraceGen : public BaseGen
/** The time at which the request should be sent */
Tick tick;
+ /** Potential request flags to use */
+ Request::FlagsType flags;
+
/**
* Check validity of this element.
*