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

mmconfig.h (374B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2#ifndef _ASM_X86_MMCONFIG_H
      3#define _ASM_X86_MMCONFIG_H
      4
      5#ifdef CONFIG_PCI_MMCONFIG
      6extern void fam10h_check_enable_mmcfg(void);
      7extern void check_enable_amd_mmconf_dmi(void);
      8#else
      9static inline void fam10h_check_enable_mmcfg(void) { }
     10static inline void check_enable_amd_mmconf_dmi(void) { }
     11#endif
     12
     13#endif /* _ASM_X86_MMCONFIG_H */