projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
62dcbe3
)
ruby: add accessor functions to SLICC def of MachineID
author
Nilay Vaish
<nilay@cs.wisc.edu>
Sat, 15 Aug 2015 00:28:44 +0000
(19:28 -0500)
committer
Nilay Vaish
<nilay@cs.wisc.edu>
Sat, 15 Aug 2015 00:28:44 +0000
(19:28 -0500)
src/mem/protocol/RubySlicc_Types.sm
patch
|
blob
|
history
diff --git
a/src/mem/protocol/RubySlicc_Types.sm
b/src/mem/protocol/RubySlicc_Types.sm
index f464b3c7d747a21f8816ed17f2ea0becd265104f..63f4b90ea996c4c759c8149409b8310720a7765c 100644
(file)
--- a/
src/mem/protocol/RubySlicc_Types.sm
+++ b/
src/mem/protocol/RubySlicc_Types.sm
@@
-50,7
+50,10
@@
structure(InPort, external = "yes", primitive="yes") {
}
external_type(NodeID, default="0", primitive="yes");
-external_type(MachineID);
+structure (MachineID, external = "yes", non_obj="yes") {
+ MachineType getType();
+ NodeID getNum();
+}
structure (Set, external = "yes", non_obj="yes") {
void setSize(int);