Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
ioforge_pci.hpp
Go to the documentation of this file.
1#ifndef __SYS__IOFORGE__IOFORGE_PCI_HPP_
2#define __SYS__IOFORGE__IOFORGE_PCI_HPP_
3
4#include "ioforge/ioforge.h"
5#include "ioforge/ioforge.hpp"
7
8class IOforgePCI : public IOForge {
9 public:
10 inline IOforgePCI(const char* mod) : IOForge(mod) {
11 }
12 inline struct ioforge_pci_device*
17 virtual void load() = 0;
18 virtual void unload() = 0;
19};
20
21#endif // __SYS__IOFORGE__IOFORGE_PCI_HPP_
IOForge(const char *mod)
Definition ioforge.hpp:18
const char * mod
Definition ioforge.hpp:65
struct ioforge_pci_device * findDevice(uint16_t vendor_id, uint16_t device_id)
IOforgePCI(const char *mod)
virtual void load()=0
virtual void unload()=0
struct ioforge_device * ioforge_get_pci_root()
struct ioforge_pci_device * ioforge_find_pci_device(struct ioforge_device *node, uint16_t vendor_id, uint16_t device_id)
unsigned short uint16_t
Definition type.h:13