mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
inherit from device interface
Signed-off-by: Pascal Bauer <pascal.bauer@rwth-aachen.de>
This commit is contained in:
parent
201a5f27c7
commit
b5f5e51bee
1 changed files with 3 additions and 1 deletions
|
@ -15,6 +15,8 @@
|
|||
|
||||
#include <villas/log.hpp>
|
||||
|
||||
#include <villas/kernel/devices/device.hpp>
|
||||
|
||||
namespace villas {
|
||||
namespace kernel {
|
||||
namespace devices {
|
||||
|
@ -58,7 +60,7 @@ struct Region {
|
|||
unsigned long long flags;
|
||||
};
|
||||
|
||||
class PciDevice {
|
||||
class PciDevice : public Device {
|
||||
public:
|
||||
PciDevice(Id i, Slot s) : id(i), slot(s), log(Log::get("kernel:pci")) {}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue