summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorAlasdair Armstrong2020-08-24 16:17:54 +0100
committerGitHub2020-08-24 16:17:54 +0100
commit115d8e891c89db82f451f02458ce408706fee8a9 (patch)
tree372dbd51a4f32692a9eb4b226bdf640dd0565b6a /etc
parentef49ed946b68d7292e04f8338aa9cb94b3d6d436 (diff)
parentb7b561343dbc4d8661b8619d25f105b3c0d16245 (diff)
Merge pull request #83 from julienfreche/configure_get_set
c2: make the global state API configurable for externally defined get/set functions
Diffstat (limited to 'etc')
-rw-r--r--etc/default_config.json7
1 files changed, 6 insertions, 1 deletions
diff --git a/etc/default_config.json b/etc/default_config.json
index 79f166af..945aa19c 100644
--- a/etc/default_config.json
+++ b/etc/default_config.json
@@ -25,6 +25,11 @@
// The sail_state struct will be passed to the following array
// of primops, which are specified via the "foo" string from
// val id = "foo" : ... in Sail.
- "state_primops": []
+ "state_primops": [],
+ // Control which sail_state variables accessors will be implemented
+ // by the consumer of the library. This is a list of regular expressions,
+ // if one of those regular expression matches the name of a sail_state variable,
+ // only the declaration of the accessors will be generated.
+ "external_state_api" : []
}
}