summaryrefslogtreecommitdiff
path: root/test/isabelle/Cheri_code.thy
diff options
context:
space:
mode:
authorThomas Bauereiss2018-07-07 22:47:57 +0100
committerThomas Bauereiss2018-07-09 14:47:49 +0100
commit5d862dc23d4641a0e7d89cd747bc2ba4007ee8f5 (patch)
treeb3c5d3e5d903593db97d03c79f8ad0ad6cc89a27 /test/isabelle/Cheri_code.thy
parent2529f5a65d70dfffe40ead73ae49aaa4d78fefb4 (diff)
Update CHERI code generation from Isabelle
Diffstat (limited to 'test/isabelle/Cheri_code.thy')
-rw-r--r--test/isabelle/Cheri_code.thy2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/isabelle/Cheri_code.thy b/test/isabelle/Cheri_code.thy
index cfd01413..13884ad5 100644
--- a/test/isabelle/Cheri_code.thy
+++ b/test/isabelle/Cheri_code.thy
@@ -50,7 +50,7 @@ fun write_char_mem :: "int \<Rightarrow> char \<Rightarrow> (regstate, unit, exc
bindS (write_mem_valS BC_bitU_list (bits_of_nat 8 (nat_of_char c))) (\<lambda>_.
returnS ()))"
-definition "initial_state \<equiv> init_state initial_regstate (\<lambda>seed. (False, seed)) 0"
+definition "initial_state \<equiv> init_state initial_regstate"
code_printing constant elf_entry \<rightharpoonup> (OCaml) "(Arith.Int'_of'_integer (Elf'_loader.elf'_entry _))"
code_printing constant get_time_ns \<rightharpoonup> (OCaml) "(Arith.Int'_of'_integer (Big'_int.big'_int'_of'_int (Pervasives.int'_of'_float (1e9 *. Unix.gettimeofday _))))"