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

Adapt fpga node to changed uuid passing

Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
This commit is contained in:
Philipp Jungkamp 2023-06-30 11:30:05 +02:00
parent cf5ef3927c
commit f73efabd18
2 changed files with 5 additions and 5 deletions

View file

@ -51,7 +51,7 @@ protected:
int _write(Sample *smps[], unsigned cnt);
public:
FpgaNode(const std::string &name = "");
FpgaNode(const uuid_t &id = {}, const std::string &name = "");
virtual
~FpgaNode();
@ -79,9 +79,9 @@ public:
using NodeFactory::NodeFactory;
virtual
Node * make()
Node * make(const uuid_t &id = {}, const std::string &nme = "")
{
auto *n = new FpgaNode;
auto *n = new FpgaNode(id, nme);
init(n);

View file

@ -42,8 +42,8 @@ static std::shared_ptr<kernel::vfio::Container> vfioContainer;
using namespace villas;
using namespace villas::node;
FpgaNode::FpgaNode(const std::string &name) :
Node(name),
FpgaNode::FpgaNode(const uuid_t &id, const std::string &name) :
Node(id, name),
irqFd(-1),
coalesce(0),
polling(true)