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

80 commits

Author SHA1 Message Date
e743b42c6f code cleanups
- Use C++ style comments
- Harmonize indentions
- Harmonize comment capitalization

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00
db23a3429f general code-style fixes
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00
3e0c6b772a use C++ style comments
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
dfd3a3be8d vfio: fix hot reset using the wron fd
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
498cc6d681 remove lib/kernel/vfio.cpp as it is not needed anymore
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
8cfa72136a improve vfio cleanup; fix potential segfault in graph/directed.hpp
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
20719d7d6c vfio: fix group not being set as attached
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
5b5ac8114b refactor vfio code. split into 3 files and remove friedship between classes
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
da6fdab06c kernel/vfio: improve cleanup
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
0ce0c517c0 kernel: fix unsafe use of readlink 2024-02-29 18:58:07 +01:00
8f178aacdb code style fixes 2024-02-29 18:58:07 +01:00
bf8a5a160c minor fixes for VILLASfpga 2024-02-29 18:58:07 +01:00
8ee59f0547 relicense under Apache 2.0 2024-02-29 18:58:07 +01:00
6d531b4397 updated mail address 2024-02-29 18:58:07 +01:00
5c036a02dd update copyright year 2024-02-29 18:58:07 +01:00
cfc3320666 remove support for Darwin/macOS 2024-02-29 18:58:07 +01:00
9f945a3ad3 port large parts to C++ 2024-02-29 18:58:07 +01:00
0d40348193 use C++ code-style 2024-02-29 18:58:07 +01:00
6d0cea1244 vfio: make compatible with 32bit compilation 2024-02-29 18:58:07 +01:00
155a580314 update copyright year 2024-02-29 18:58:07 +01:00
3bd2dade2d kernel: refactor naming style 2024-02-29 18:58:07 +01:00
d6c60b7302 kernel: check if process is running in a containerized environment 2024-02-29 18:58:07 +01:00
d04d616eea drop legacy logger 2024-02-29 18:58:07 +01:00
e78be9ca8d musl compatability fixes 2024-02-29 18:58:07 +01:00
ac9551c8d4 fix compiler warning about uninitialized struct fields 2024-02-29 18:58:07 +01:00
d78b327d34 minor fixes for affinity code 2024-02-29 18:58:07 +01:00
43e79dd547 rt: add kernel::rt::setThreadPriority() 2024-02-29 18:58:07 +01:00
20556139aa fix a lot of cppcheck warnings and errors 2024-02-29 18:58:07 +01:00
28e0c950b2 add more nullptr checks after memory allocations 2024-02-29 18:58:07 +01:00
e9a6f1b8c1 vfio: fix compilation for ARM targets 2024-02-29 18:58:07 +01:00
b32303b664 refactor: more code-style improvements 2024-02-29 18:58:07 +01:00
054a130a4a vfio: move to new namespace 2024-02-29 18:58:07 +01:00
8421332706 pci: port to C++ 2024-02-29 18:58:07 +01:00
faab634ee1 harmonize codestyle 2024-02-29 18:58:07 +01:00
97009ff624 vfio: fix mapping and remove legacy code 2024-02-29 18:58:07 +01:00
1b33e2d104 handle failed memory allocations 2024-02-29 18:58:07 +01:00
c77d34ee3a more refactoring to C++ 2024-02-29 18:58:07 +01:00
a03e914138 refactor malloc()/free() by new/delete 2024-02-29 18:58:07 +01:00
479b7f2388 refactor malloc()/free() by new/delete 2024-02-29 18:58:07 +01:00
389c8d8e82 update copyright year to 2020 2024-02-29 18:58:07 +01:00
87285062e2 fix return code of kernel_set_nr_hugepages() 2024-02-29 18:58:07 +01:00
4111166be9 fixes for armhf and aarch64 compatability 2024-02-29 18:58:07 +01:00
b00c69773b fix dangling bracket 2024-02-29 18:58:07 +01:00
8e5eca92eb fix typo and add an example for running in privileged mode 2024-02-29 18:58:07 +01:00
root
20f17bca42 docker changes 2024-02-29 18:58:07 +01:00
4f9a45492e replace C-style headers with C++ C-compatability headers 2024-02-29 18:58:07 +01:00
Hatim Kanchwala
87327e868d Warn when kernel booted without IOMMU 2024-02-29 18:58:07 +01:00
Hatim Kanchwala
d3a3320cb2 Automatically load required kernel modules 2024-02-29 18:58:07 +01:00
7875c6bf07 do not use villas::utils namespace by default 2024-02-29 18:58:07 +01:00
aa624d2240 move utils.h to utils.hpp 2024-02-29 18:58:07 +01:00