hazel/include/kernel/pci.h

12 lines
213 B
C
Raw Normal View History

2024-08-01 14:22:25 -04:00
#ifndef HAZEL_PCI_H_
#define HAZEL_PCI_H_
#include <stdint.h>
#define PCI_CONFIG_ADDR 0xCF8
#define PCI_CONFIG_DATA 0xCFC
uint16_t pci_read_cfg(uint8_t bus, uint8_t slot, uint8_t func, uint8_t offset);
#endif