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
"
6
#include "
ioforge/ioforge_pci.h
"
7
8
class
IOforgePCI
:
public
IOForge
{
9
public
:
10
inline
IOforgePCI
(
const
char
*
mod
) :
IOForge
(
mod
) {
11
}
12
inline
struct
ioforge_pci_device
*
13
findDevice
(
uint16_t
vendor_id,
uint16_t
device_id
) {
14
return
ioforge_find_pci_device
(
ioforge_get_pci_root
(),
15
vendor_id,
device_id
);
16
}
17
virtual
void
load
() = 0;
18
virtual
void
unload
() = 0;
19
};
20
21
#endif
// __SYS__IOFORGE__IOFORGE_PCI_HPP_
IOForge::IOForge
IOForge(const char *mod)
Definition
ioforge.hpp:18
IOForge::mod
const char * mod
Definition
ioforge.hpp:65
IOforgePCI::findDevice
struct ioforge_pci_device * findDevice(uint16_t vendor_id, uint16_t device_id)
Definition
ioforge_pci.hpp:13
IOforgePCI::IOforgePCI
IOforgePCI(const char *mod)
Definition
ioforge_pci.hpp:10
IOforgePCI::load
virtual void load()=0
IOforgePCI::unload
virtual void unload()=0
ioforge.h
ioforge_get_pci_root
struct ioforge_device * ioforge_get_pci_root()
ioforge_find_pci_device
struct ioforge_pci_device * ioforge_find_pci_device(struct ioforge_device *node, uint16_t vendor_id, uint16_t device_id)
ioforge.hpp
ioforge_pci.h
device_id
Definition
vnode.h:54
ioforge_pci_device
Definition
ioforge_pci.h:15
uint16_t
unsigned short uint16_t
Definition
type.h:13
include
ioforge
ioforge_pci.hpp
Generated on Sat May 30 2026 11:09:57 for Voxia OS by
1.13.2