mb/google/skyrim: Enable ACPI tables
[coreboot.git] / util / vgabios / pci-userspace.h
blob879a91d6e669d441898dfe2d663dc6557389f674
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #ifndef __PCI_USERSPACE_H__
4 #define __PCI_USERSPACE_H__
6 struct device {
7 int busno;
8 int slot;
9 int func;
12 int pci_initialize(void);
13 int pci_exit(void);
15 u8 pci_read_config8(struct device *dev, unsigned int where);
16 u16 pci_read_config16(struct device *dev, unsigned int where);
17 u32 pci_read_config32(struct device *dev, unsigned int where);
18 void pci_write_config8(struct device *dev, unsigned int where, u8 val);
19 void pci_write_config16(struct device *dev, unsigned int where, u16 val);
20 void pci_write_config32(struct device *dev, unsigned int where, u32 val);
22 #endif