diff options
author | Nilay Vaish <nilay@cs.wisc.edu> | 2011-03-19 18:34:37 -0500 |
---|---|---|
committer | Nilay Vaish <nilay@cs.wisc.edu> | 2011-03-19 18:34:37 -0500 |
commit | 2f4276448b82b2aa077ae257171b5cb04b7048f6 (patch) | |
tree | 7e5d6bdcf8b3028ac7aed6c889efb820b2db91d9 /src/mem/protocol/MOESI_CMP_token-dir.sm | |
parent | dd9083115ed3f1ee297c2ff7255fdd3fee276e7a (diff) | |
download | gem5-2f4276448b82b2aa077ae257171b5cb04b7048f6.tar.xz |
Ruby: Convert AccessModeType to RubyAccessMode
This patch converts AccessModeType to RubyAccessMode so that both the
protocol dependent and independent code uses the same access mode.
Diffstat (limited to 'src/mem/protocol/MOESI_CMP_token-dir.sm')
-rw-r--r-- | src/mem/protocol/MOESI_CMP_token-dir.sm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mem/protocol/MOESI_CMP_token-dir.sm b/src/mem/protocol/MOESI_CMP_token-dir.sm index 5cad4d448..c411d1c4b 100644 --- a/src/mem/protocol/MOESI_CMP_token-dir.sm +++ b/src/mem/protocol/MOESI_CMP_token-dir.sm @@ -424,7 +424,7 @@ machine(Directory, "Token protocol") out_msg.Destination.add(map_Address_to_Directory(address)); out_msg.MessageSize := MessageSizeType:Persistent_Control; out_msg.Prefetch := PrefetchBit:No; - out_msg.AccessMode := AccessModeType:SupervisorMode; + out_msg.AccessMode := RubyAccessMode:Supervisor; } markPersistentEntries(address); starving := true; @@ -466,7 +466,7 @@ machine(Directory, "Token protocol") out_msg.RetryNum := 0; out_msg.MessageSize := MessageSizeType:Broadcast_Control; out_msg.Prefetch := PrefetchBit:No; - out_msg.AccessMode := AccessModeType:SupervisorMode; + out_msg.AccessMode := RubyAccessMode:Supervisor; } } } @@ -494,7 +494,7 @@ machine(Directory, "Token protocol") out_msg.Destination.add(map_Address_to_Directory(address)); out_msg.MessageSize := MessageSizeType:Persistent_Control; out_msg.Prefetch := PrefetchBit:No; - out_msg.AccessMode := AccessModeType:SupervisorMode; + out_msg.AccessMode := RubyAccessMode:Supervisor; } markPersistentEntries(address); starving := true; @@ -532,7 +532,7 @@ machine(Directory, "Token protocol") out_msg.RetryNum := 0; out_msg.MessageSize := MessageSizeType:Broadcast_Control; out_msg.Prefetch := PrefetchBit:No; - out_msg.AccessMode := AccessModeType:SupervisorMode; + out_msg.AccessMode := RubyAccessMode:Supervisor; } } } |