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

page-states.h (486B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 *    Copyright IBM Corp. 2017
      4 *    Author(s): Claudio Imbrenda <imbrenda@linux.vnet.ibm.com>
      5 */
      6
      7#ifndef PAGE_STATES_H
      8#define PAGE_STATES_H
      9
     10#define ESSA_GET_STATE			0
     11#define ESSA_SET_STABLE			1
     12#define ESSA_SET_UNUSED			2
     13#define ESSA_SET_VOLATILE		3
     14#define ESSA_SET_POT_VOLATILE		4
     15#define ESSA_SET_STABLE_RESIDENT	5
     16#define ESSA_SET_STABLE_IF_RESIDENT	6
     17#define ESSA_SET_STABLE_NODAT		7
     18
     19#define ESSA_MAX	ESSA_SET_STABLE_NODAT
     20
     21#endif