Class PciDevice¶
Defined in File device.hpp
Nested Relationships¶
Nested Types¶
Inheritance Relationships¶
Base Type¶
public Gaia::Dev::Service
(Class Service)
Class Documentation¶
-
class PciDevice : public Gaia::Dev::Service¶
Public Functions
-
PciDevice(uint8_t bus, uint8_t slot, uint8_t fun)¶
-
virtual void start(Service *provider) override¶
Starts the service and associates it with the provider.
- Parameters:
provider – The provider to associate with
-
virtual bool match_properties(Properties &props) override¶
-
inline virtual const char *class_name() override¶
-
inline virtual const char *name() override¶
-
inline void set_bus_mastering(bool enabled)¶
-
inline void set_memory_space(bool enabled)¶
-
inline void set_io_space(bool enabled)¶
-
frg::span<uint8_t> get_bar(uint8_t num)¶
-
struct Info¶
-
PciDevice(uint8_t bus, uint8_t slot, uint8_t fun)¶