1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

update code to latest common submodule

This commit is contained in:
Steffen Vogel 2022-08-30 06:21:12 -04:00
parent 28262ef79b
commit bcec3efd5f
3 changed files with 4 additions and 4 deletions

View file

@ -88,7 +88,7 @@ Test(fpga, dma, .description = "DMA")
"Destination memory not accessible for DMA");
/* Get new random data */
const size_t lenRandom = utils::read_random(&src, len);
const size_t lenRandom = utils::readRandom(&src, len);
cr_assert(len == lenRandom, "Failed to get random data");
/* Start transfer */

View file

@ -61,7 +61,7 @@ Test(fpga, fifo, .description = "FIFO")
/* Get some random data to compare */
memset(dst, 0, sizeof(dst));
len = utils::read_random((char *) src, sizeof(src));
len = utils::readRandom((char *) src, sizeof(src));
if (len != sizeof(src)) {
logger->error("Failed to get random data");
continue;

View file

@ -52,7 +52,7 @@ static void init()
spdlog::set_level(spdlog::level::debug);
spdlog::set_pattern("[%T] [%l] [%n] %v");
plugin::Registry::dumpList();
plugin::registry->dump();
pciDevices = std::make_shared<kernel::pci::DeviceList>();
@ -73,7 +73,7 @@ static void init()
cr_assert(json_object_size(json) > 0, "No FPGAs defined in config");
// get the FPGA card plugin
auto fpgaCardFactory = plugin::Registry::lookup<fpga::PCIeCardFactory>("pcie");
auto fpgaCardFactory = plugin::registry->lookup<fpga::PCIeCardFactory>("pcie");
cr_assert_not_null(fpgaCardFactory, "No plugin for FPGA card found");
// create all FPGA card instances using the corresponding plugin