Turnstone Operating System
|
pci implementation More...
#include <types.h>
#include <pci.h>
#include <memory.h>
#include <memory/paging.h>
#include <memory/frame.h>
#include <acpi.h>
#include <utils.h>
#include <logging.h>
#include <ports.h>
#include <cpu.h>
#include <cpu/interrupt.h>
#include <time/timer.h>
Classes | |
struct | pci_iterator_internal_t |
Functions | |
MODULE ("turnstone.kernel.hw.pci") | |
int8_t | pci_iterator_destroy (iterator_t *iterator) |
iterator_t * | pci_iterator_next (iterator_t *iterator) |
int8_t | pci_iterator_end_of_iterator (iterator_t *iterator) |
const void * | pci_iterator_get_item (iterator_t *iterator) |
pci_context_t * | pci_get_context (void) |
int8_t | pci_setup (memory_heap_t *heap) |
iterator_t * | pci_iterator_create_with_heap (memory_heap_t *heap, acpi_table_mcfg_t *mcfg) |
creates an iterator over pci device devices at mcfg memory area More... | |
const pci_dev_t * | pci_find_device_by_address (uint8_t group_number, uint8_t bus_number, uint8_t device_number, uint8_t function_number) |
Variables | |
static pci_context_t * | pci_context_default = NULL |
pci implementation
This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.
iterator_t * pci_iterator_create_with_heap | ( | memory_heap_t * | heap, |
acpi_table_mcfg_t * | mcfg | ||
) |
creates an iterator over pci device devices at mcfg memory area
heap | iterator of heap |
mcfg | mcfg memory area which indentified by acpi table |