Skip to content

Commit

Permalink
Add an event for system register writes
Browse files Browse the repository at this point in the history
  • Loading branch information
Alasdair committed Jul 11, 2024
1 parent 09ac4b2 commit 5194029
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/concurrency_interface/exception.sail
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,9 @@ outcome sail_return_exception : 'pa -> unit
impl emulator(_) = ()
}

outcome sail_system_register_write : unit -> unit
= {
impl emulator() = ()
}

$endif
2 changes: 2 additions & 0 deletions src/lib/parser.mly
Original file line number Diff line number Diff line change
Expand Up @@ -1207,6 +1207,8 @@ let_def:
{ $2 }

outcome_spec_def:
| Outcome id Colon typschm
{ mk_outcome (OV_outcome ($2, $4, [])) $startpos $endpos }
| Outcome id Colon typschm With separated_nonempty_list(Comma, param_kopt)
{ mk_outcome (OV_outcome ($2, $4, $6)) $startpos $endpos }

Expand Down

0 comments on commit 5194029

Please sign in to comment.