summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNikos Nikoleris <nikos.nikoleris@arm.com>2018-01-02 21:33:25 +0100
committerNikos Nikoleris <nikos.nikoleris@arm.com>2018-01-11 09:40:35 +0000
commit9737d93eb1d22946073d448c0c9200169f1a0b64 (patch)
treeb3bd705b2ae3e5df3787d2d0965157ab83dbc57c
parentc6c222750d80b3f9235211f83e1115afb4e05432 (diff)
downloadgem5-9737d93eb1d22946073d448c0c9200169f1a0b64.tar.xz
mem-ruby: Remove function that maps responses to a DMA engine
The function map_Address_to_DMA was used to route responses to the first (and assumed to be the only) DMA engine in the system. This function is now unused as protocols handle responses and route them to the right DMA engine. Change-Id: I2fba913cf2f12321d1a1e38e7ee85bdf26b8a47a Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com> Reviewed-on: https://gem5-review.googlesource.com/7162 Reviewed-by: Jason Lowe-Power <jason@lowepower.com> Maintainer: Jason Lowe-Power <jason@lowepower.com>
-rw-r--r--src/mem/protocol/RubySlicc_ComponentMapping.sm1
-rw-r--r--src/mem/slicc/symbols/Type.py14
2 files changed, 0 insertions, 15 deletions
diff --git a/src/mem/protocol/RubySlicc_ComponentMapping.sm b/src/mem/protocol/RubySlicc_ComponentMapping.sm
index 673c99f22..c6b30edf5 100644
--- a/src/mem/protocol/RubySlicc_ComponentMapping.sm
+++ b/src/mem/protocol/RubySlicc_ComponentMapping.sm
@@ -35,7 +35,6 @@ MachineID mapAddressToRange(Addr addr, MachineType type,
MachineID mapAddressToRange(Addr addr, MachineType type,
int low, int high, NodeID n);
NetDest broadcast(MachineType type);
-MachineID map_Address_to_DMA(Addr addr);
NodeID machineIDToNodeID(MachineID machID);
NodeID machineIDToVersion(MachineID machID);
MachineType machineIDToMachineType(MachineID machID);
diff --git a/src/mem/slicc/symbols/Type.py b/src/mem/slicc/symbols/Type.py
index 188d6dd75..37c0b16c7 100644
--- a/src/mem/slicc/symbols/Type.py
+++ b/src/mem/slicc/symbols/Type.py
@@ -523,10 +523,6 @@ int ${{self.c_ident}}_base_count(const ${{self.c_ident}}& obj);
''')
for enum in self.enums.itervalues():
- if enum.ident == "DMA":
- code('''
-MachineID map_Address_to_DMA(const Addr &addr);
-''')
code('''
MachineID get${{enum.ident}}MachineID(NodeID RubyNode);
@@ -774,16 +770,6 @@ ${{self.c_ident}}_base_count(const ${{self.c_ident}}& obj)
''')
for enum in self.enums.itervalues():
- if enum.ident == "DMA":
- code('''
-MachineID
-map_Address_to_DMA(const Addr &addr)
-{
- MachineID dma = {MachineType_DMA, 0};
- return dma;
-}
-''')
-
code('''
MachineID