Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2019-07-19 | Add a new pc access function to get the architectural PC: on CHERI this is ↵master-cleanup | Robert Norton | 4 | -3/+12 | |
not what is in the PC register because the architectural PC is the offset of PCC and the PC register stores the absolute PC (at present -- may review this decision in future). This allows fix for AUIPC and RVFI reported PC. | |||||
2019-07-18 | More tweaks to reading guide and diagram. | Prashanth Mundkur | 3 | -31/+36 | |
2019-07-18 | Minor tweaks. | Prashanth Mundkur | 1 | -4/+7 | |
2019-07-18 | Add info about the C emulator to the reading guide. | Prashanth Mundkur | 4 | -6/+186 | |
2019-07-17 | Disable mmio devices (clint and htif interfaces) when using RVFI to prevent ↵ | Robert Norton | 1 | -1/+8 | |
divergence when using TestRIG. | |||||
2019-07-11 | Merge branch 'master-cleanup' | Prashanth Mundkur | 17 | -355/+419 | |
2019-07-11 | Tweak fig. | Prashanth Mundkur | 2 | -10/+12 | |
2019-07-11 | Undo get_config workarounds. | Prashanth Mundkur | 3 | -28/+10 | |
2019-07-11 | Fix an issue where zeros function defined in sail conflicted with lem ↵ | Robert Norton | 1 | -24/+7 | |
builtin (lem backend does not do z encoding) and add default get_config_print_xxx builtins mappings to lem build (now there is no longer a sail definition of the function because of -Oconstant_fold bug). Also remove FEATURE_IMPLICITS ifdef that was required for backwards compatibility with long obsolete sail versions. | |||||
2019-07-09 | Merge pull request #15 from heshamelmatary/master | Prashanth Mundkur | 1 | -0/+0 | |
os-boot: Update Hafnium image | |||||
2019-07-09 | Merge branch 'master-cleanup' of github.com:rems-project/sail-riscv into ↵ | Prashanth Mundkur | 4 | -0/+11 | |
master-cleanup | |||||
2019-07-09 | Minor tweak to fig. | Prashanth Mundkur | 2 | -231/+235 | |
2019-07-09 | Add some missed logging guards. | Prashanth Mundkur | 6 | -47/+83 | |
2019-07-09 | Move the get_config_ print defaults to the backend preludes, since it seems ↵ | Prashanth Mundkur | 3 | -7/+24 | |
to get optimized out by sail, making the emulator the command-line options ineffective. | |||||
2019-07-09 | Fix shadowing of the -v option in C emulator. | Prashanth Mundkur | 1 | -6/+6 | |
2019-07-09 | Add ext_rvfi_init to allow model to be initialised differently for rvfi. | Robert Norton | 4 | -0/+11 | |
2019-07-03 | Add a maximum memory access size to slightly improve C code geneation. | Robert Norton | 3 | -23/+32 | |
2019-07-03 | os-boot: Update Hafnium image | Hesham Almatary | 1 | -0/+0 | |
* Reduce the size of the image by removing unused secondary VMs. * Recompile Linux with -march=rv64imac -mabi=lp64 (softfloat). * Remove NFS filesystem in Linux as it's not needed. | |||||
2019-07-02 | Default terminal output to stdout instead of in 'term.log'. | Robert Norton | 1 | -2/+1 | |
2019-07-02 | Add an instruction limit option to C emulator. Also print kips every 2**20 ↵ | Robert Norton | 1 | -2/+22 | |
(~100k) instructions with -p option so you can keep see how it varies during execution. | |||||
2019-07-02 | Crank up optimisation (sail and gcc). | Robert Norton | 1 | -2/+2 | |
2019-07-01 | Predicate another bit of tracing. | Robert Norton | 1 | -1/+2 | |
2019-07-01 | Merge remote-tracking branch 'origin/master' into master-cleanup | Robert Norton | 11 | -21/+37 | |
2019-07-01 | Improve argument parsing of C emulator. Make trace / no-trace argument optional. | Robert Norton | 1 | -11/+14 | |
2019-06-28 | Rename zeros and ones implicit functions to something that sail ↵ | Robert Norton | 1 | -7/+4 | |
monomorphisation pass recognises. We don't need the overload. | |||||
2019-06-28 | add interpreter extern for string_of_int | Jon French | 1 | -1/+1 | |
2019-06-28 | Avoid implicit casts to string | Alasdair | 11 | -20/+36 | |
Can have unintended consequences, due to how overloading interacts with casts. For example, x : X == y : X can be interpreted as eq_string(cast(x), cast(y)) if x and y are both castable to string, even when there is an equality function (X, X) -> bool. Sail->SMT can't handle strings very well so it's best to just ensure that this can never occur. Rather than implicitly casting in logging statements like: print("xyz" ^ x ^ " foo " ^ y) it's now print("xyz" ^ to_str(x) ^ " foo " ^ to_str(y)) which ensures that the conversion to strings only happens where intended. I also added a warning to Sail itself to try to catch these cases in future. | |||||
2019-06-27 | Merge pull request #14 from gameboo/aj443-fixes | Prashanth Mundkur | 4 | -8/+8 | |
Zero extend rather than sign extend rvfi-dii reports (usefull for 32 … | |||||
2019-06-27 | Update the os-boot patch. | Prashanth Mundkur | 1 | -32/+39 | |
2019-06-27 | Update docs and diagram. | Prashanth Mundkur | 3 | -240/+275 | |
2019-06-27 | Merge branch 'master' into pmp | Prashanth Mundkur | 3 | -0/+57 | |
2019-06-27 | Merge branch 'master-cleanup' into pmp | Prashanth Mundkur | 4 | -6/+10 | |
2019-06-27 | Fix the lem target. | Prashanth Mundkur | 2 | -84/+68 | |
2019-06-27 | Zero extend rather than sign extend rvfi-dii reports (usefull for 32 ↵ | Alexandre Joannou | 4 | -8/+8 | |
rvfi-dii comparisons where upper bits are not expected to have information in them) | |||||
2019-06-27 | Fixes for get_perf.py script: fix name of tests directory and cope with uc-p ↵ | Robert Norton | 1 | -2/+2 | |
test being so fast the script it takes zero microseconds. | |||||
2019-06-27 | Predicate more tracing with get_config_print_xxx. | Robert Norton | 3 | -5/+10 | |
2019-06-27 | pointer to RISC-V ISA Formal comparison | Peter Sewell | 1 | -0/+4 | |
2019-06-27 | Merge pull request #12 from heshamelmatary/hafnium | Robert Norton | 2 | -0/+53 | |
Add a bootable Hafnium image | |||||
2019-06-27 | os-boot: Add a Hafnium image with initrd and Linux VMs | Hesham Almatary | 1 | -0/+0 | |
This image includes: - BBL - Hafnium Hypervisor - initrd - Linux as a Primary VM - Linux as a secondary VM - Busybox - Hafnium.ko device driver It runs on Spike, and requires PMP, CLINT and HTIF | |||||
2019-06-27 | os-boot: Add a Spike-derivative DTS with chosen node for Hafnium | Hesham Almatary | 1 | -0/+53 | |
2019-06-26 | Merge branch 'master-cleanup' into pmp | Prashanth Mundkur | 10 | -20/+104 | |
2019-06-26 | Add command line option in c_emulator for disabling tracing. Add builtins ↵ | Robert Norton | 6 | -7/+83 | |
for getting values of config_print_xxx variables to speed up emulation when not tracing. | |||||
2019-06-25 | Some more pruning and commenting of riscv_mem. | Prashanth Mundkur | 1 | -33/+37 | |
2019-06-25 | Add PMP regs to the is-defined predicate. | Prashanth Mundkur | 1 | -1/+20 | |
2019-06-24 | Add PMP checks to physical memory accesses. | Prashanth Mundkur | 24 | -61/+135 | |
- unify AccessType and ReadType since they were essentially redundant, making it easier to implement PMP checks for ReadWrite/atomic accesses. - add command line options to enable PMP in the platform - also fix the matching for the case when all entries are off | |||||
2019-06-24 | Narrow the external interface to riscv_mem to mem_{read,write,write_ea}. | Prashanth Mundkur | 7 | -23/+26 | |
2019-06-24 | Starting cleaning up physical memory bits for pmp integration. | Prashanth Mundkur | 6 | -63/+37 | |
. convert duopod to directly use Sail lib/regfp functions . put lib/regfp wrappers in prelude, and avoid calling them directly in riscv_mem . remove mmio assumption in page-table walks, making read/write calls symmetric . prune obsolete functions from prelude_mem | |||||
2019-06-21 | Checked locked flag on PMP reg writes, and add the special case for the ↵ | Prashanth Mundkur | 3 | -62/+64 | |
pmpaddr0 check. | |||||
2019-06-20 | Hook in csr reads/writes to PMP regs. Locked entries are not yet handled. | Prashanth Mundkur | 3 | -85/+129 | |
2019-06-20 | Handle pmpcfg packing and unpacking for csr accesses. | Prashanth Mundkur | 1 | -22/+76 | |