mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-30 00:00:11 +01:00
Change "device conncection" function names to camelcase.
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
This commit is contained in:
parent
bb402b3c0e
commit
0d748c4631
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@ public:
|
||||||
from(const villas::kernel::devices::Device &device,
|
from(const villas::kernel::devices::Device &device,
|
||||||
std::shared_ptr<kernel::vfio::Container> vfio_container);
|
std::shared_ptr<kernel::vfio::Container> vfio_container);
|
||||||
|
|
||||||
void add_to_memorygraph() const;
|
void addToMemorygraph() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace devices
|
} // namespace devices
|
||||||
|
|
|
@ -45,7 +45,7 @@ DeviceConnection DeviceConnection::from(const villas::kernel::devices::Device &d
|
||||||
return DeviceConnection(vfio_device);
|
return DeviceConnection(vfio_device);
|
||||||
}
|
}
|
||||||
|
|
||||||
void DeviceConnection::add_to_memorygraph() const {
|
void DeviceConnection::addToMemorygraph() const {
|
||||||
// Map vfio device memory to process
|
// Map vfio device memory to process
|
||||||
const void *mapping = this->vfio_device->regionMap(0);
|
const void *mapping = this->vfio_device->regionMap(0);
|
||||||
if (mapping == MAP_FAILED) {
|
if (mapping == MAP_FAILED) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue