summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.h
diff options
context:
space:
mode:
authormkhairy <[email protected]>2021-05-19 17:47:56 -0400
committerGitHub <[email protected]>2021-05-19 17:47:56 -0400
commit0e4f12ae3fefd6bad6175014411a6587a3898ac8 (patch)
treebd35fe5e86be921cdf5658a9abee72fb7622816c /src/abstract_hardware_model.h
parent585dcf5dc05d6343314600114ebcea8c719e7423 (diff)
parent4c354ebda2c92bb5866c20f03a254743c8ec85a3 (diff)
Merge pull request #14 from JRPan/spring-2021-all
Byte Mask + Dirty Counter + Store ACK + Cache total access fix + check sector readable only on read + rewrite L2 breakdown function
Diffstat (limited to 'src/abstract_hardware_model.h')
-rw-r--r--src/abstract_hardware_model.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/abstract_hardware_model.h b/src/abstract_hardware_model.h
index 982e416..e09acdb 100644
--- a/src/abstract_hardware_model.h
+++ b/src/abstract_hardware_model.h
@@ -869,6 +869,12 @@ class mem_fetch_allocator {
virtual mem_fetch *alloc(const class warp_inst_t &inst,
const mem_access_t &access,
unsigned long long cycle) const = 0;
+ virtual mem_fetch *alloc(new_addr_type addr, mem_access_type type,
+ const active_mask_t &active_mask,
+ const mem_access_byte_mask_t &byte_mask,
+ const mem_access_sector_mask_t &sector_mask,
+ unsigned size, bool wr,
+ unsigned long long cycle) const = 0;
};
// the maximum number of destination, source, or address uarch operands in a