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

261 commits

Author SHA1 Message Date
Pascal Bauer
0d748c4631 Change "device conncection" function names to camelcase.
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
2025-02-20 19:08:32 +01:00
Pascal Bauer
bb402b3c0e Move "device_connection" implementation to .cpp
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
2025-02-20 19:08:32 +01:00
Pascal Bauer
ae720efc4d chore: formatting
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
2025-02-20 19:08:32 +01:00
Pascal Bauer
6c864b5fac feat: device connection
Add a connection to devicetree devices via vfio.

Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
2025-02-20 19:08:32 +01:00
Leonardo Carreras
6a4b0d8df5 Apply PR suggestions about style and import criteria
Signed-off-by: Leonardo Carreras <leonardo.carreras@eonerc.rwth-aachen.de>
2025-02-05 10:47:40 +01:00
Leonardo Carreras
5c2fe58a3e Make the TSC architecture-agnostic and adjust CMakeLists
- Add a separate section for architecture-agnostic timing using CLOCK MONOTONIC (Linux specific)
- Add a specific variant for the initialization of the TSC structure
- Move the file to the linux-only section in the CMakeLists file

Signed-off-by: Leonardo Carreras <leonardo.carreras@eonerc.rwth-aachen.de>
2025-02-05 10:47:40 +01:00
Niklas Eiling
9ba78f1fe3 fix: move task to villas namespace
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2025-01-29 14:18:09 +01:00
Pascal Bauer
297fbc511c fix formatting
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
2025-01-28 17:49:54 +01:00
Pascal Bauer
22a5f54428 add from_directory method
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
2025-01-28 17:49:54 +01:00
e5ab276566 fix: Formatting
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-11-04 10:30:14 +01:00
Steffen Vogel
9bcb03d06c fix: Default clock for tasks to be monotonic
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-10-31 12:45:09 +01:00
Steffen Vogel
1520743f73 fix: Formatting with clang-format
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-10-31 12:18:20 +01:00
Pascal Bauer
914ea0bac6 Refactor FPGA device and drivers
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
2024-10-31 12:18:20 +01:00
Steffen Vogel
28d354cb84 Fix formatting with clang-format
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-10-15 19:31:49 +02:00
Pascal Bauer
23af32d25e add get method getNumberIrqs()
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
2024-09-25 15:15:24 +02:00
Pascal Bauer
83e95f88a5 Refactor: change namespace pci to devices
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
2024-08-30 12:23:02 +02:00
Pascal Bauer
c41f91f1ca refactor: rename DeviceList to PciDeviceList
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
2024-08-30 12:23:02 +02:00
Pascal Bauer
975c02dc7d Refactor: rename pci class to pci_device
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
2024-08-30 12:23:02 +02:00
Pascal Bauer
91b541943e Refactor: Move pci to devices/pci_device
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
2024-08-30 12:23:02 +02:00
IgnoreWarnings
4d062d7098 minimize container requirements
Signed-off-by: IgnoreWarnings <pascal.bauer@rwth-aachen.de>
2024-08-09 09:14:47 +02:00
Niklas Eiling
f25e1dd689 log: fix undefined intitialization order of static objects. fixes #799.
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-08-05 14:57:13 +02:00
Pascal Bauer
2d9bb26847 make "getOrAttachGroup" public
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
2024-08-05 10:15:06 +02:00
a366b80109 Fix formatting
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-05-28 19:45:55 -07:00
c1f8d0fa80 stats: Indent histogram output
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-04-10 14:31:58 +02:00
3023ddaa3a Fix some typos and harmonize log output
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-04-10 14:31:58 +02:00
31aabb9acf common: Add missing include
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-03-26 13:01:15 +01:00
3d73c759ea Reformat all code with clang-format
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 19:34:27 +01:00
Niklas Eiling
5d3f170c40 add printGraph method to MemoryManager
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
4e6f5233da make DeviceList a singleton and expose the eventFd in Device
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Philipp Jungkamp
66569cf9c4 Fix fmt 10.0.0 related formatting errors.
Signed-off-by: Philipp Jungkamp <p.jungkamp@gmx.net>
2024-02-29 18:58:07 +01:00
IgnoreWarnings
799183b0fb Load vfio modules at runtime.
Defines are replaced by constructor parameters. The default parameter makes the function backwards compatible.

Signed-off-by: IgnoreWarnings <pascal.bauer@rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Steffen Vogel
b195058d03 Fix cppcheck warnings
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
b359c2715d Fix formatting for VFIO changes
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
4349aaaac9 Fix broken includes due to auto format
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
7d10544d79 Apply clang-format changes
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
IgnoreWarnings
d73663bb01 Kernel module loading system and bug fixes of vfio (#110)
- feature: Header to specify which kernel modules (vfio support) to load
- Bug fixes: wrong errror messages, bugged region cap
- Quality of use improvements e.g. getter and str()

---------

Signed-off-by: IgnoreWarnings <pascal.bauer@rwth-aachen.de>
Signed-off-by: IgnoreWarnings <119685519+IgnoreWarnings@users.noreply.github.com>
Co-authored-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
5bfade1d66 Added missing mail addresses to SPDX copyright headers
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
02f06b607f Harmonize file descriptions and mail addresses
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
6c582cbf91 Make project REUSE compliant
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
fc89e0f0a9 Harmonize comment and code-style
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
70398e02b7 Fix function declaration for uuid::toString()
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
ac67044222 Improve UUID handling
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Philipp Jungkamp
2103e4b05f add overloaded helper util for std::visit
Signed-off-by: Philipp Jungkamp <Philipp.Jungkamp@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
97b2e916c1 fix code-style
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
d4bcfd59f2 log: fix configuration of log formatter and level
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
dfc24cf534 use C++ instead of C comment style
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
2cc7c46d3a add CMake option to disable colored log output
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
cde7bd6dd6 log: remove old OPAL logger sink
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
822035df82 log: allow adding additional sinks
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
Steffen Vogel
fe1385e2c6 pci: pass string var as const reference
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00