From 4fc22f9295061d17e11828af625d9f92aabfb4a5 Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Thu, 28 Mar 2024 19:49:47 -0400 Subject: kernel: pci: Add pci_writel() Signed-off-by: Ian Moffett --- sys/include/dev/pci/pci.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/include/dev/pci/pci.h') diff --git a/sys/include/dev/pci/pci.h b/sys/include/dev/pci/pci.h index c17a08e..fbbbeab 100644 --- a/sys/include/dev/pci/pci.h +++ b/sys/include/dev/pci/pci.h @@ -65,6 +65,7 @@ struct pci_device { int pci_init(void); uint32_t pci_readl(struct pci_device *dev, uint32_t offset); +void pci_writel(struct pci_device *dev, uint32_t offset, uint32_t val); struct pci_device *pci_get_device(struct pci_lookup lookup, uint16_t lookup_type); #endif /* !_DEV_PCI_H_ */ -- cgit v1.2.3