Review Board 2.0.15


ruby: slicc: have a static MachineType

Review Request #3177 - Created Oct. 30, 2015 and submitted - Latest diff uploaded

Information
Tony Gutierrez
gem5
default
Reviewers
Default
Changeset 11276:761b51bcb410
---------------------------
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