gem5/src/mem/slicc
Tony Gutierrez a317764577 ruby: slicc: have a static MachineType
This patch is imported from reviewboard patch 2551 by Nilay.
This patch moves from a dynamically defined MachineType to a statically
defined one.  The need for this patch was felt since a dynamically defined
type prevents us from having types for which no machine definition may
exist.

The following changes have been made:
i. each machine definition now uses a type from the MachineType enumeration
instead of any random identifier.  This required changing the grammar and the
*.sm files.
ii. MachineType enumeration defined statically in RubySlicc_Exports.sm.
* * *
normal protocol fixes for nilay's parser machine type fix
2015-07-20 09:15:18 -05:00
..
ast ruby: slicc: have a static MachineType 2015-07-20 09:15:18 -05:00
generate slicc: Change the code generation so that the generated code is easier to read 2010-03-12 18:42:56 -08:00
symbols ruby: slicc: have a static MachineType 2015-07-20 09:15:18 -05:00
__init__.py slicc: Pure python implementation of slicc. 2009-09-22 18:12:39 -07:00
main.py slicc: add a protocol statement and an include statement 2011-07-05 18:30:05 -07:00
parser.py ruby: slicc: have a static MachineType 2015-07-20 09:15:18 -05:00
util.py slicc: cleanup slicc code and make it less verbose 2011-07-05 18:30:05 -07:00