TacOS
0.2
|
#include <ioports.h>
#include <types.h>
#include <pci_config.h>
#include "pci_vendor.h"
#include <kstdio.h>
Macros | |
#define | CONFIG_ADDRESS 0xCF8 |
#define | CONFIG_DATA 0xCFC |
Fonctions | |
uint32_t | pci_read_register (uint8_t bus, uint8_t slot, uint8_t func, uint8_t reg) |
uint32_t | pci_write_register (uint8_t bus, uint8_t slot, uint8_t func, uint8_t reg, uint32_t value) |
uint32_t | pci_read_value (pci_function_p func, uint8_t reg, uint8_t offset, uint32_t mask) |
PPCI_VENTABLE | pci_get_vendor (uint8_t bus, uint8_t slot, uint8_t function) |
PPCI_DEVTABLE | pci_get_device (uint8_t bus, uint8_t slot, uint8_t function) |
PPCI_CLASSCODETABLE | pci_get_classcode (uint8_t bus, uint8_t slot, uint8_t function) |
void | pci_print_info (pci_function_p func) |
void | pci_print_detailed_info (pci_function_p func) |
Copyright (C) 2010-2014 TacOS developers.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details at http://www.gnu.org/copyleft/gpl.html
You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses.
Description de ce que fait le fichier