- Small step forward Linux boots and almost works...
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@795 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
15
src/include/device/pci_ops.h
Normal file
15
src/include/device/pci_ops.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#ifndef PCI_OPS_H
|
||||
#define PCI_OPS_H
|
||||
|
||||
#include <stdint.h>
|
||||
struct device;
|
||||
|
||||
int pci_read_config_byte(struct device *dev, uint8_t where, uint8_t *val);
|
||||
int pci_read_config_word(struct device *dev, uint8_t where, uint16_t *val);
|
||||
int pci_read_config_dword(struct device *dev, uint8_t where, uint32_t *val);
|
||||
int pci_write_config_byte(struct device *dev, uint8_t where, uint8_t val);
|
||||
int pci_write_config_word(struct device *dev, uint8_t where, uint16_t val);
|
||||
int pci_write_config_dword(struct device *dev, uint8_t where, uint32_t val);
|
||||
void pci_set_method(void);
|
||||
|
||||
#endif /* PCI_OPS_H */
|
Reference in New Issue
Block a user