12 lines
213 B
C
12 lines
213 B
C
#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
|