cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

pc-conf-reg.c (425B)


      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
     13DEFINE_RAW_SPINLOCK(pc_conf_lock);