Changeset View
Changeset View
Standalone View
Standalone View
usr.sbin/bhyve/pci_emul.h
Show First 20 Lines • Show All 86 Lines • ▼ Show 20 Lines | enum pcibar_type { | ||||
PCIBAR_MEM64, | PCIBAR_MEM64, | ||||
PCIBAR_MEMHI64 | PCIBAR_MEMHI64 | ||||
}; | }; | ||||
struct pcibar { | struct pcibar { | ||||
enum pcibar_type type; /* io or memory */ | enum pcibar_type type; /* io or memory */ | ||||
uint64_t size; | uint64_t size; | ||||
uint64_t addr; | uint64_t addr; | ||||
uint8_t lobits; | |||||
}; | }; | ||||
#define PI_NAMESZ 40 | #define PI_NAMESZ 40 | ||||
struct msix_table_entry { | struct msix_table_entry { | ||||
uint64_t addr; | uint64_t addr; | ||||
uint32_t msg_data; | uint32_t msg_data; | ||||
uint32_t vector_control; | uint32_t vector_control; | ||||
▲ Show 20 Lines • Show All 197 Lines • Show Last 20 Lines |