1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.

//! Core PCI infrastructure.
//!
//! A collection of constants, types, and traits that are shared across all PCI
//! implementations (i.e: vpci, pci_gen1, pcie).

#![warn(missing_docs)]

pub mod test_helpers;

pub mod bar_mapping;
pub mod capabilities;
pub mod cfg_space_emu;
pub mod chipset_device_ext;
pub mod msi;
pub mod spec;

/// Defines one of the 4 legacy PCI INTx shared interrupt pins
#[allow(missing_docs)] // self explanatory variants
#[derive(Debug, Clone, Copy, inspect::Inspect)]
pub enum PciInterruptPin {
    IntA = 0,
    IntB,
    IntC,
    IntD,
}