- Small step forward Linux boots and almost works...
[coreboot.git] / src / include / device / pci_ops.h
1 #ifndef PCI_OPS_H
2 #define PCI_OPS_H
3
4 #include <stdint.h>
5 struct device;
6
7 int pci_read_config_byte(struct device *dev, uint8_t where, uint8_t *val);
8 int pci_read_config_word(struct device *dev, uint8_t where, uint16_t *val);
9 int pci_read_config_dword(struct device *dev, uint8_t where, uint32_t *val);
10 int pci_write_config_byte(struct device *dev, uint8_t where, uint8_t val);
11 int pci_write_config_word(struct device *dev, uint8_t where, uint16_t val);
12 int pci_write_config_dword(struct device *dev, uint8_t where, uint32_t val);
13 void pci_set_method(void);
14
15 #endif /* PCI_OPS_H */