Jerry Zhao
186c619fb3
devices: Switch plugin device interface to use device_factory_t
Plugins should now implement and register a device_factory_t to
configure how that device should be parsed from a FDT, and an optional
default DTS string.
This drops support for command-line flag-based device configuration
3 years ago
Jerry Zhao
426a33e774
sim_t: change plugin_devices to a vec of shared_ptrs
3 years ago
Andrew Waterman
86b3e7851f
Run 'make check' in CI
3 years ago
Jerry Zhao
cfe79e06fb
ci: CI should check each commit in a PR
test
3 years ago
Andrew Waterman
b8e562a58c
Use size_t, rather than int, for hartids
They aren't signed quantities.
3 years ago
Aaron Durbin
afff588a4b
Remove dirty_enabled from cfg_t
The addition of Svadu support and removal of --mmu-dirty
command line flag results in the dirty_enabled configuration state
no longer being used. Remove the remnants of this state.
3 years ago
Jerry Zhao
67bbdf5506
Add trigger_count field to cfg_t
3 years ago
Tim Newsome
5e1bdfc496
Use nproc or hw.ncpu instead of -j4 to build spike.
3 years ago
Tim Newsome
582f4d442e
Refactor build-spike out of test-spike.
3 years ago
Parshintsev Anatoly
e402a8353d
implement get_size() getter for mem_cfg_t object
NFT. We also mark `base` and `size` fields as private.
3 years ago
Parshintsev Anatoly
a606da640b
implement get_base() getter for mem_cfg_t object
NFC. The intention is for `base` and `size` fields of mem_cfg_t
to be private members. This is the fist part of this commit.
3 years ago
Jerry Zhao
c4e7c88728
Add cfg_t field to enable PTE dirtying
3 years ago
Jerry Zhao
044fedabee
Untabify ci-tests/testlib.c
3 years ago
Andrew Waterman
a11af65d0e
Add --[no-]misaligned command-line options
They don't do anything yet.
3 years ago
Jerry Zhao
46e6be48e9
Add github actions test that installed headers are usable
3 years ago
Andrew Waterman
054a4aa579
Engage non-virtual-dtor warning in CI tests
4 years ago
Andrew Waterman
ab20d616ae
Expand set of warnings we error on in CI
4 years ago
Andrew Waterman
d17b176788
Actually run a program in CI
To avoid long CI times, keep the program in binary form.
To avoid storing binary files in this repository, store the binaries as
an asset on a github release.
4 years ago
Andrew Waterman
1c227a1d3b
In CI, check that help message prints without error
4 years ago
Andrew Waterman
7cf82d72f1
Run CI with -Werror
4 years ago
Andrew Waterman
648e16e778
Add basic continuous-integration flow
6 years ago