diff options
author | Brad Beckmann <Brad.Beckmann@amd.com> | 2011-07-06 18:45:15 -0700 |
---|---|---|
committer | Brad Beckmann <Brad.Beckmann@amd.com> | 2011-07-06 18:45:15 -0700 |
commit | 255f82a78320fed364cfa45bf0e65b341ab0bcb7 (patch) | |
tree | d84e2290c795701003f164f650cdd738ab00dc14 /src/mem/ruby/slicc_interface/RubySlicc_ComponentMapping.hh | |
parent | 4f833907812b50e8c6cce761d2f3c1f6fd07ae7b (diff) | |
download | gem5-255f82a78320fed364cfa45bf0e65b341ab0bcb7.tar.xz |
ruby: added generic dma machine
Diffstat (limited to 'src/mem/ruby/slicc_interface/RubySlicc_ComponentMapping.hh')
-rw-r--r-- | src/mem/ruby/slicc_interface/RubySlicc_ComponentMapping.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mem/ruby/slicc_interface/RubySlicc_ComponentMapping.hh b/src/mem/ruby/slicc_interface/RubySlicc_ComponentMapping.hh index 1858085cc..2b7eb8b3b 100644 --- a/src/mem/ruby/slicc_interface/RubySlicc_ComponentMapping.hh +++ b/src/mem/ruby/slicc_interface/RubySlicc_ComponentMapping.hh @@ -151,6 +151,9 @@ ConvertMachToGenericMach(MachineType machType) if (machType == MachineType_Directory) return GenericMachineType_Directory; + if (machType == MACHINETYPE_DMA_ENUM) + return GenericMachineType_DMA; + panic("cannot convert to a GenericMachineType"); } |