Jakob Stoklund Olesen
56cb249e13
Add support for enumerated settings.
...
The EnumSetting objects can take one of 256 named values.
2016-08-09 15:13:43 -07:00
Jakob Stoklund Olesen
530234ad32
Add settings::Stringwise.
...
This trait allows settings to be manipulated as strings, using descriptors and
constant hash-table lookups.
Amend gen_settings.py to generate the necessary constant tables.
2016-08-09 15:04:42 -07:00
Jakob Stoklund Olesen
4efb0efb44
Add ISA-dependent settings for RISC-V.
2016-08-05 16:19:46 -07:00
Jakob Stoklund Olesen
1925c1b2c2
Scaffolding for defining settings.
...
Settings can be defined globally or per-ISA. They are available to code through
a generated Settings struct with accessor methods per setting.
2016-08-05 15:50:57 -07:00