summaryrefslogtreecommitdiff
path: root/src/mem/protocol/MESI_Two_Level-msg.sm
diff options
context:
space:
mode:
authorIru Cai <mytbk920423@gmail.com>2019-02-28 17:07:16 +0800
committerIru Cai <mytbk920423@gmail.com>2019-03-20 15:30:35 +0800
commitc1595689b1bfbb02fc50497c335dfa54327f0dd8 (patch)
treee633024f7e8e7567d3d76665be0f4fedae5ff72c /src/mem/protocol/MESI_Two_Level-msg.sm
parentf54020eb8155371725ab75b0fc5c419287eca084 (diff)
downloadgem5-c1595689b1bfbb02fc50497c335dfa54327f0dd8.tar.xz
invisispec-1.0 source
Diffstat (limited to 'src/mem/protocol/MESI_Two_Level-msg.sm')
-rw-r--r--src/mem/protocol/MESI_Two_Level-msg.sm6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mem/protocol/MESI_Two_Level-msg.sm b/src/mem/protocol/MESI_Two_Level-msg.sm
index 738019e7b..d4269193d 100644
--- a/src/mem/protocol/MESI_Two_Level-msg.sm
+++ b/src/mem/protocol/MESI_Two_Level-msg.sm
@@ -36,6 +36,8 @@ enumeration(CoherenceRequestType, desc="...") {
GET_INSTR, desc="Get Instruction";
INV, desc="INValidate";
PUTX, desc="Replacement message";
+ GETSPEC, desc="Get Speculatively";
+ EXPOSE, desc="Expose";
WB_ACK, desc="Writeback ack";
@@ -68,7 +70,9 @@ structure(RequestMsg, desc="...", interface="Message") {
int Len;
bool Dirty, default="false", desc="Dirty bit";
PrefetchBit Prefetch, desc="Is this a prefetch request";
-
+ MachineID origin;
+ int idx, default="-1", desc="LQ index";
+
bool functionalRead(Packet *pkt) {
// Only PUTX messages contains the data block
if (Type == CoherenceRequestType:PUTX) {