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

pmc.h (607B)


      1/* SPDX-License-Identifier: ISC */
      2/* Copyright (c) 2012-2015 Qualcomm Atheros, Inc. */
      3
      4#include <linux/types.h>
      5
      6#define PCM_DATA_INVALID_DW_VAL (0xB0BA0000)
      7
      8void wil_pmc_init(struct wil6210_priv *wil);
      9void wil_pmc_alloc(struct wil6210_priv *wil,
     10		   int num_descriptors, int descriptor_size);
     11void wil_pmc_free(struct wil6210_priv *wil, int send_pmc_cmd);
     12int wil_pmc_last_cmd_status(struct wil6210_priv *wil);
     13ssize_t wil_pmc_read(struct file *, char __user *, size_t, loff_t *);
     14loff_t wil_pmc_llseek(struct file *filp, loff_t off, int whence);
     15int wil_pmcring_read(struct seq_file *s, void *data);