| Age | Commit message (Collapse) | Author | Files | Lines | |
|---|---|---|---|---|---|
| 2026-04-15 | refactor: remove excessive chunk_max_size calls | Alexander Romanov | 2 | -4/+5 | |
| These calls are virtual and cause notable overhead | |||||
| 2026-03-22 | make the executable path relative from spike | Hiroo HAYASHI | 1 | -2/+26 | |
| If the relative path cannot be found, use the current PREFIX. Signed-off-by: Hiroo HAYASHI <24754036+hirooih@users.noreply.github.com> | |||||
| 2026-02-09 | Modify in_bits to check in_valid before accessing | Abraham Gonzalez | 1 | -1/+1 | |
| Signed-off-by: Abraham Gonzalez <abe.j.gonza@gmail.com> | |||||
| 2025-11-10 | Don't hang when invoked as background process | Andrew Waterman | 1 | -2/+37 | |
| It's (normally) only reasonable to launch Spike as a background process when it's used in a mode that does not need stdin. But we should support those use cases without hanging. Fix the hang by catching SIGTTOU. For obvious reasons, `spike -d` will still hang waiting for input until it's in the foreground. Fixes #2133 | |||||
| 2025-04-16 | Fix the remaining few warnings that Clang catches | Andrew Waterman | 1 | -3/+1 | |
| 2025-04-16 | Fix missing initializers (-Wextra) | Andrew Waterman | 1 | -4/+8 | |
| 2025-04-16 | Remove VLAs in htif/memif (-Wvla) | Andrew Waterman | 2 | -19/+18 | |
| I don't think these are actually performance-critical, but if they prove to be, there are obvious optimizations. | |||||
| 2025-04-16 | Remove VLAs in DTM (-Wvla) | Andrew Waterman | 2 | -17/+13 | |
| 2025-04-16 | Fix overflow warning (-Woverflow) | Andrew Waterman | 1 | -1/+1 | |
| 2025-04-16 | Explicitly annotate use of GNU extension (-Wpedantic) | Andrew Waterman | 1 | -2/+2 | |
| 2025-04-16 | Remove non-ISO compound literals (-Wpedantic) | Andrew Waterman | 1 | -3/+6 | |
| 2025-04-16 | Remove zero-sized arrays (-Werror) | Andrew Waterman | 1 | -2/+2 | |
| 2025-02-25 | Don't send reset from HTIF, if no binary is given | Friedrich Hunstock | 1 | -2/+1 | |
| This applies when the binary is set to "none". This is useful when implementing a binary loading mechanism outside of the HTIF, and the bootloader is supposed to boot from that. | |||||
| 2025-02-25 | Load symbols even when no binary is given | Friedrich Hunstock | 2 | -20/+31 | |
| 2025-02-22 | allow to set tohost/from host via --symbol-elf | Tilmann Bartsch | 1 | -7/+7 | |
| 2025-02-07 | Add instruction limit | Tim Hutt | 3 | -8/+24 | |
| Adds an optional --instructions=N CLI argument which will stop the simulation after N instructions. This is useful for benchmarking and profiling and sometimes debugging. | |||||
| 2024-10-02 | fix typos | Yang Hau | 1 | -1/+1 | |
| 2024-07-16 | Obtain definition of reg_t in elfloader.h | Andrew Waterman | 1 | -0/+1 | |
| 2024-07-16 | Avoid dependence on config.h in byteorder.h | Andrew Waterman | 1 | -12/+6 | |
| The runtime check will compile out. | |||||
| 2024-05-29 | add support to load ET_DYN elf | Clément Léger | 6 | -14/+25 | |
| When compiled as PIE, executable can be loaded at any memory address. Lately, OpenSBI switched to such behavior and spike was not able to load it anymore. This patch add an additional load_offset parameter for load_elf(). This load_offset value is passed as DRAM_BASE and used only for ET_DYN elfs. Signed-off-by: Clément Léger <cleger@rivosinc.com> | |||||
| 2024-03-22 | Implement syscall readlinkat | Ming-Yi Lai | 2 | -0/+15 | |
| 2023-11-09 | fesvr/htif: allow exit on SIGINT. | Volodymyr Fialko | 1 | -1/+1 | |
| Currently signal handler would call exit() only on second received signal, this prevent proper program cleanup. Instead use signal flag to exit loop. Signed-off-by: Volodymyr Fialko <vfialko@marvell.com> | |||||
| 2023-10-09 | Update dtm.h with switch_to_* functions | Abraham Gonzalez | 1 | -0/+10 | |
| Signed-off-by: Abraham Gonzalez <abe.j.gonza@gmail.com> | |||||
| 2023-08-16 | Include cerrno in fesvr/elfloader.cc | Mark Lai | 1 | -0/+1 | |
| It caused compile error "use of undeclared identifier 'errno'" at line 26 and 33. I Add #include <cerrno> in fesvr/elfloader.cc to fix error and compile successfully. | |||||
| 2023-06-19 | fesvr: support int128_t/uint128_t | Gianluca Guida | 1 | -0/+7 | |
| Also remove now duplicate definition for types. | |||||
| 2023-05-19 | Add Spike's meta files for pkg-config | Wojciech Bartczak | 1 | -0/+2 | |
| This commit adds the *.pc files for Spike's simulation library, enabling dynamic and static linking without the need to directly reference Spike sources. Using Spike as a stand-alone library provides an interesting option for developing tools and applications based on Spike. | |||||
| 2023-04-20 | Close file descriptors in destructor of syscall_t | Yinan Xu | 2 | -3/+12 | |
| 2023-04-12 | Make some dtm_t interfaces protected | Jerry Zhao | 1 | -8/+10 | |
| * This enables useful functionality in inheritors | |||||
| 2023-04-12 | Unify fesvr/debug_defines.h and riscv/debug_defines.h | Jerry Zhao | 2 | -1478/+60 | |
| * fesvr/debug_defines.h is removed | |||||
| 2023-03-15 | fesvr: fix compilation with gcc 13 | Julien Olivain | 1 | -0/+1 | |
| Compiling spike with gcc 13 (for example, included in Fedora 38 prerelease) fails with error: In file included from fesvr/syscall.h:6, from fesvr/syscall.cc:4: fesvr/device.h:15:30: error: ‘uint64_t’ was not declared in this scope 15 | typedef std::function<void(uint64_t)> callback_t; | ^~~~~~~~ This is due to a gcc header dependency change. See for reference: https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes This commit explicitly adds the missing <cstdint> header inclusion to fix this build failure. Signed-off-by: Julien Olivain <ju.o@free.fr> | |||||
| 2023-03-07 | fesvr: Add --symbol-elf flag to populate htif-t::symbol_elfs | Jerry Zhao | 2 | -0/+10 | |
| 2023-03-07 | fesvr: Add symbol_elfs field to htif_t | Jerry Zhao | 2 | -0/+17 | |
| When populated, symbol_elfs are additional elf files that populate the addr2symbol map in htif | |||||
| 2023-03-07 | fesvr: Fix brace style in htif_t::load_program | Jerry Zhao | 1 | -11/+9 | |
| 2023-03-07 | fesvr: fix +signature-granularity opt parsing to be required_arg | Jerry Zhao | 1 | -1/+1 | |
| 2023-03-07 | fesvr: Add +target-argument= flag to htif parsing | Jerry Zhao | 2 | -0/+8 | |
| 2023-03-07 | fesvr: Fix spacing in parse_arguments | Jerry Zhao | 1 | -4/+3 | |
| 2023-03-07 | fesvr: target_args() should return a const | Jerry Zhao | 1 | -1/+1 | |
| 2023-03-07 | make target_args() protected instead of private to allow subclasses to ↵ | Sagar Karandikar | 1 | -2/+1 | |
| inject args | |||||
| 2023-02-24 | fesvr: elfloader: replace asserts after open and mmap by exceptions | Viktor Prutyanov | 1 | -2/+4 | |
| Asserts (especially without a message) aren't human readable way of error reporting. So, replace them by exceptions with messages with errno string. | |||||
| 2023-02-02 | Make htif->get_to/fromhost_addr methods public | Jerry Zhao | 1 | -3/+3 | |
| 2023-01-17 | Add htif_t tohost/fromhost accessors | Jerry Zhao | 1 | -0/+3 | |
| Signed-off-by: Jerry Zhao <jerryz123@berkeley.edu> | |||||
| 2023-01-16 | Add more hint when searched path is wrong | gr816ox | 1 | -0/+6 | |
| Delete the old branch and pull a new one, because of a wrong force push. Git is not as easy as I think. Signed-off-by: gr816ox <50945677+gr816ox@users.noreply.github.com> | |||||
| 2022-12-22 | Remove non-installed header lists from Makefile fragments | Andrew Waterman | 1 | -3/+1 | |
| It's just dead code. (Dependences on headers are auto-generated as `.d` files.) | |||||
| 2022-12-15 | Use relative include paths to support public usage of these headers | Jerry Zhao | 1 | -1/+1 | |
| 2022-12-15 | Add config.h includes directly to source files instead of relying on header ↵ | Jerry Zhao | 3 | -0/+3 | |
| chaining This step is to ensure that removing config.h out of headers will not cause regressions. | |||||
| 2022-12-15 | Rename memif_endianness_t to endianness_t | Jerry Zhao | 3 | -11/+11 | |
| 2022-12-15 | Pull memif_endianness_t into cfg.h | Jerry Zhao | 2 | -8/+1 | |
| 2022-10-25 | Remove set_target_endianness | add --big-endian flag | Jerry Zhao | 2 | -7/+6 | |
| Set target endianess in constructors | |||||
| 2022-10-25 | Remove memif_endianness_undecided, change default to little-endian | Jerry Zhao | 1 | -2/+1 | |
| 2022-10-04 | Fixed -Wnon-virtual-dtor warnings | Jerin Joy | 1 | -0/+2 | |
| Signed-off-by: Jerin Joy <joy@rivosinc.com> | |||||
