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

pvpanic.h (366B)


      1// SPDX-License-Identifier: GPL-2.0+
      2/*
      3 *  Pvpanic Device Support
      4 *
      5 *  Copyright (C) 2021 Oracle.
      6 */
      7
      8#ifndef PVPANIC_H_
      9#define PVPANIC_H_
     10
     11struct pvpanic_instance {
     12	void __iomem *base;
     13	unsigned int capability;
     14	unsigned int events;
     15	struct list_head list;
     16};
     17
     18int devm_pvpanic_probe(struct device *dev, struct pvpanic_instance *pi);
     19
     20#endif /* PVPANIC_H_ */