Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions cli/lib/isla_converter/constants.ml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,6 @@ let constraint_skip = Z.of_int 0x100000
let instruction_size = 4 (* AArch64: 32-bit instructions *)
let exception_vector_offset = 0x800 (* Offset before thread code for exception vectors *)
let thread_code_base = Z.of_int 0x10000 (* Base PA for thread code pool *)

(** Instruction opcodes *)
let eret_opcode = 0xD69F03E0 (* ERET: exception return *)
2 changes: 1 addition & 1 deletion cli/lib/isla_converter/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(library
(name isla_converter)
(modules ast parser lexer constants symbols allocator evaluator assembler page_tables types from_isla rewriter)
(modules ast parser lexer constants symbols allocator evaluator assembler page_tables types from_isla rewriter outcomes)
(libraries zarith otoml str))

(menhir
Expand Down
Loading
Loading