summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile8
-rw-r--r--etc/anon_header2
-rw-r--r--etc/headache_config4
-rw-r--r--lib/main.ml1
-rw-r--r--src/test/lib/run_test_interp.ml51
-rw-r--r--src/value2.lem4
6 files changed, 13 insertions, 57 deletions
diff --git a/Makefile b/Makefile
index 9a6dd42a..c7fbd951 100644
--- a/Makefile
+++ b/Makefile
@@ -54,15 +54,19 @@ apply_header:
$(MAKE) -C arm apply_header
anon_dist:
- $(MAKE) clean
headache -c etc/headache_config -h etc/anon_header `ls mips/*.sail`
headache -c etc/headache_config -h etc/anon_header `ls cheri/*.sail`
+ headache -c etc/headache_config -h etc/anon_header `ls riscv/*.sail`
+ headache -c etc/headache_config -h etc/anon_header `ls riscv/*.ml`
+ headache -c etc/headache_config -h etc/anon_header `ls lib/*.ml`
+ headache -c etc/headache_config -h etc/anon_header `ls lib/coq/*.v`
headache -c etc/headache_config -h etc/anon_header `ls src/Makefile*`
headache -c etc/headache_config -h etc/anon_header `ls src/*.ml*`
+ headache -c etc/headache_config -h etc/anon_header `ls src/*.lem`
headache -c etc/headache_config -h etc/anon_header `ls src/lem_interp/*.ml`
headache -c etc/headache_config -h etc/anon_header `ls src/lem_interp/*.lem`
headache -c etc/headache_config -h etc/anon_header `ls arm/*.sail`
- tar cvzf sail.tar.gz .
+ tar czf sail.tar.gz aarch64 cheri mips riscv language lib src snapshots
clean:
for subdir in src arm ; do\
diff --git a/etc/anon_header b/etc/anon_header
new file mode 100644
index 00000000..c3173e6a
--- /dev/null
+++ b/etc/anon_header
@@ -0,0 +1,2 @@
+Copyright (2018) Sail contributors.
+This material is provided for anonymous review purposes only. \ No newline at end of file
diff --git a/etc/headache_config b/etc/headache_config
index e8745fee..4a68f1ef 100644
--- a/etc/headache_config
+++ b/etc/headache_config
@@ -1,3 +1,5 @@
".*\\.mllib" -> frame open:"(*" line:"=" close:"*)"
| ".*\\.lem" -> frame open:"(*" line:"=" close:"*)"
-| ".*\\.sail" -> frame open:"(*" line:"=" close:"*)"
+| ".*\\.v" -> frame open:"(*" line:"=" close:"*)"
+| ".*\\.sail" -> frame open:"/*" line:"=" close:"*/"
+
diff --git a/lib/main.ml b/lib/main.ml
index e9dcb4e0..c1b6fcae 100644
--- a/lib/main.ml
+++ b/lib/main.ml
@@ -1,4 +1,3 @@
-
(**************************************************************************)
(* Sail *)
(* *)
diff --git a/src/test/lib/run_test_interp.ml b/src/test/lib/run_test_interp.ml
deleted file mode 100644
index 5f2ace1b..00000000
--- a/src/test/lib/run_test_interp.ml
+++ /dev/null
@@ -1,51 +0,0 @@
-(**************************************************************************)
-(* Sail *)
-(* *)
-(* Copyright (c) 2013-2017 *)
-(* Kathyrn Gray *)
-(* Shaked Flur *)
-(* Stephen Kell *)
-(* Gabriel Kerneis *)
-(* Robert Norton-Wright *)
-(* Christopher Pulte *)
-(* Peter Sewell *)
-(* *)
-(* All rights reserved. *)
-(* *)
-(* This software was developed by the University of Cambridge Computer *)
-(* Laboratory as part of the Rigorous Engineering of Mainstream Systems *)
-(* (REMS) project, funded by EPSRC grant EP/K008528/1. *)
-(* *)
-(* Redistribution and use in source and binary forms, with or without *)
-(* modification, are permitted provided that the following conditions *)
-(* are met: *)
-(* 1. Redistributions of source code must retain the above copyright *)
-(* notice, this list of conditions and the following disclaimer. *)
-(* 2. Redistributions in binary form must reproduce the above copyright *)
-(* notice, this list of conditions and the following disclaimer in *)
-(* the documentation and/or other materials provided with the *)
-(* distribution. *)
-(* *)
-(* THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' *)
-(* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED *)
-(* TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A *)
-(* PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR *)
-(* CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, *)
-(* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT *)
-(* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF *)
-(* USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND *)
-(* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, *)
-(* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT *)
-(* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF *)
-(* SUCH DAMAGE. *)
-(**************************************************************************)
-
-open Interp_interface ;;
-open Interp_inter_imp ;;
-open Sail_impl_base ;;
-
-let doit () =
- let context = build_context false Test_lem_ast.defs [] [] [] [] [] [] [] None [] in
- translate_address context E_little_endian "run" None (address_of_integer (Nat_big_num.of_int 0));;
-
-doit () ;;
diff --git a/src/value2.lem b/src/value2.lem
index d9fd1263..e8a8262a 100644
--- a/src/value2.lem
+++ b/src/value2.lem
@@ -1,4 +1,4 @@
-(**************************************************************************)
+(*========================================================================*)
(* Sail *)
(* *)
(* Copyright (c) 2013-2017 *)
@@ -46,7 +46,7 @@
(* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT *)
(* OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF *)
(* SUCH DAMAGE. *)
-(**************************************************************************)
+(*========================================================================*)
open import Pervasives
open import Assert_extra