Voxia OS v0.0.1
Hobby Project Operating System Targeting x86-64
Loading...
Searching...
No Matches
ioforge_pci.h
Go to the documentation of this file.
1#ifndef __SYS__IOFORGE__IOFORGE_PCI_H_
2#define __SYS__IOFORGE__IOFORGE_PCI_H_
3
4#include "./ioforge.h"
5
6#ifdef __cplusplus
7extern "C" {
8#endif
9
14
39
42
47
51
52#ifdef __cplusplus
53}
54#endif
55
56#endif // __SYS__IOFORGE__IOFORGE_PCI_H_
volatile uint32_t cap
Definition ehci.hpp:2
uint16_t pci_cap_find_msi(struct ioforge_pci_device *pci)
void pci_enable_msi(struct ioforge_pci_device *pci, uint8_t vector, uint8_t cpu, uint16_t cap)
uintptr_t pci_enable_msix(struct ioforge_pci_device *pci, uint8_t vector, uint8_t cpu, uint16_t cap)
uint16_t pci_cap_find_msix(struct ioforge_pci_device *pci)
struct ioforge_pci_device * ioforge_get_pci_device(uint16_t vendor_id, uint16_t device_id)
struct ioforge_pci_device pci
boolean_t iospace
Definition ioforge_pci.h:12
uint64_t address
Definition ioforge_pci.h:11
uint16_t capability_ptr
Definition ioforge_pci.h:36
struct ioforge_pci_bar bar[6]
Definition ioforge_pci.h:37
struct ioforge_device base
Definition ioforge_pci.h:16
unsigned short uint16_t
Definition type.h:13
uint8_t boolean_t
Definition type.h:89
unsigned long uintptr_t
Definition type.h:73
unsigned long uint64_t
Definition type.h:25
unsigned char uint8_t
Definition type.h:7
#define vector(T)
Definition vector.h:11