Skip to main content

PCI_IO_LOCK

Static PCI_IO_LOCK 

Source
static PCI_IO_LOCK: SpinLock<()>
Expand description

Global lock for PCI configuration space I/O.

CONFIG_ADDRESS and CONFIG_DATA form a two-step transaction that must be atomic w.r.t. other CPUs. Every config read/write must hold this lock.