Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
torvalds
GitHub Repository: torvalds/linux
Path: blob/master/arch/x86/lib/pc-conf-reg.c
26442 views
1
// SPDX-License-Identifier: GPL-2.0
2
/*
3
* Support for the configuration register space at port I/O locations
4
* 0x22 and 0x23 variously used by PC architectures, e.g. the MP Spec,
5
* Cyrix CPUs, numerous chipsets. As the space is indirectly addressed
6
* it may have to be protected with a spinlock, depending on the context.
7
*/
8
9
#include <linux/spinlock.h>
10
11
#include <asm/pc-conf-reg.h>
12
13
DEFINE_RAW_SPINLOCK(pc_conf_lock);
14
15