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

39 commits

Author SHA1 Message Date
Niklas Eiling
04ba5eb2cf kernel/pci: fix memory leak in Id()
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
Niklas Eiling
07cc1c96d8 add Niklas to copyright notices in vfio code
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
ad2619cba5 fix readHostBar throwing errors when BAR is correct
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
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
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
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
Steffen Vogel
fe95c246a3 pcie: use scanff instead of istringstream
Signed-off-by: Steffen Vogel <steffen.vogel@opal-rt.com>
2024-02-29 18:58:07 +01:00
ba63fc9ad7 pci: use PCI_BASE_ADDRESS_N macro
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00
cf855a9f46 pci: rename bar to barNum and re-add bar size to log
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00
248223259e use C++ STL for handling file IO
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00
1844d4fbfc code-style fixes
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
f69a2a3db0 remove hardcoded pcie device id in pci.cpp
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
Niklas Eiling
6fac4e583b vfio: rewrite BAR if it has the correct value
Signed-off-by: Niklas Eiling <niklas.eiling@eonerc.rwth-aachen.de>
2024-02-29 18:58:07 +01:00
310136c7cf update Steffens mail address
Signed-off-by: Steffen Vogel <post@steffenvogel.de>
2024-02-29 18:58:07 +01:00
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
3e0c6b772a use C++ style comments
Signed-off-by: Steffen Vogel <post@steffenvogel.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
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
9f945a3ad3 port large parts to C++ 2024-02-29 18:58:07 +01:00
155a580314 update copyright year 2024-02-29 18:58:07 +01:00
d04d616eea drop legacy logger 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
b32303b664 refactor: more code-style improvements 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
c77d34ee3a more refactoring to C++ 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
4f9a45492e replace C-style headers with C++ C-compatability headers 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
9df2b8538f refactor: NULL => nullptr 2024-02-29 18:58:07 +01:00
204cd148b7 use C++ compiler 2024-02-29 18:58:07 +01:00
Renamed from common/lib/kernel/pci.c (Browse further)