summaryrefslogtreecommitdiff
path: root/language
diff options
context:
space:
mode:
authorAlasdair Armstrong2019-01-11 21:00:36 +0000
committerAlasdair Armstrong2019-01-11 21:00:36 +0000
commit9cfa575245a0427a0d35504086de182bd80b7df8 (patch)
tree8ac466188cfad342a35afb1557110a6ee882baaa /language
parent05e6058795e71cf1543e282752cbf95e471894cc (diff)
Updates for sail-arm release
We want to ensure that no_devices.sail and devices.sail have the same effect footprint, because with a snapshot-type release in sail-arm, we can't rebuild the spec with asl_to_sail every time we switch from running elf binaries to booting OS's. This commit allows registers to have arbitrary effects, so registers that are really representing memory-mapped devices don't have to have the wmem/rmem effect.
Diffstat (limited to 'language')
-rw-r--r--language/sail.ott2
1 files changed, 1 insertions, 1 deletions
diff --git a/language/sail.ott b/language/sail.ott
index 0977d227..f3c6ed40 100644
--- a/language/sail.ott
+++ b/language/sail.ott
@@ -908,7 +908,7 @@ alias_spec :: 'AL_' ::=
dec_spec :: 'DEC_' ::=
{{ com register declarations }}
{{ aux _ annot }} {{ auxparam 'a }}
- | register typ id :: :: reg
+ | register effect effect' typ id :: :: reg
| register configuration id : typ = exp :: :: config
| register alias id = alias_spec :: :: alias
| register alias typ id = alias_spec :: :: typ_alias