19 lines
292 B
C
19 lines
292 B
C
/* SPDX-License-Identifier: GPL-2.0-only */
|
|
#ifndef _PCI_H_
|
|
#define _PCI_H_
|
|
|
|
#include <kernel/common.h>
|
|
|
|
struct pci_device {
|
|
u64 class;
|
|
u64 vendor;
|
|
u8 bus;
|
|
u8 slot;
|
|
u8 func;
|
|
paddr_t bar0;
|
|
paddr_t bar1;
|
|
paddr_t bar2;
|
|
paddr_t bar3;
|
|
} PACKED;
|
|
|
|
#endif /* _PCI_H_ */
|