aboutsummaryrefslogtreecommitdiff
path: root/ci-tests/testlib.c
diff options
context:
space:
mode:
authorJerry Zhao <jerryz123@berkeley.edu>2023-06-06 11:53:02 -0700
committerJerry Zhao <jerryz123@berkeley.edu>2023-06-20 12:23:47 -0700
commit186c619fb38f02d0b18514a2f8399cd8248e1dcc (patch)
treebb1f2b5cf2c2047df66d6935facda892568bb01d /ci-tests/testlib.c
parent701029d28b0e73f98a36869ef9317c49f0dc2949 (diff)
downloadspike-186c619fb38f02d0b18514a2f8399cd8248e1dcc.zip
spike-186c619fb38f02d0b18514a2f8399cd8248e1dcc.tar.gz
spike-186c619fb38f02d0b18514a2f8399cd8248e1dcc.tar.bz2
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
Diffstat (limited to 'ci-tests/testlib.c')
-rw-r--r--ci-tests/testlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci-tests/testlib.c b/ci-tests/testlib.c
index 33eaede..6342f9d 100644
--- a/ci-tests/testlib.c
+++ b/ci-tests/testlib.c
@@ -28,7 +28,7 @@ int main()
hartids,
false,
4);
- std::vector<std::pair<reg_t, std::shared_ptr<abstract_device_t>>> plugin_devices;
+ std::vector<const device_factory_t*> plugin_devices;
std::vector<std::string> htif_args {"pk", "hello"};
debug_module_config_t dm_config = {
.progbufsize = 2,