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

ifc00d.h (719B)


      1#ifndef __NVIF_IFC00D_H__
      2#define __NVIF_IFC00D_H__
      3#include "if000c.h"
      4
      5struct gp100_vmm_vn {
      6	/* nvif_vmm_vX ... */
      7};
      8
      9struct gp100_vmm_v0 {
     10	/* nvif_vmm_vX ... */
     11	__u8  version;
     12	__u8  fault_replay;
     13};
     14
     15struct gp100_vmm_map_vn {
     16	/* nvif_vmm_map_vX ... */
     17};
     18
     19struct gp100_vmm_map_v0 {
     20	/* nvif_vmm_map_vX ... */
     21	__u8  version;
     22	__u8  vol;
     23	__u8  ro;
     24	__u8  priv;
     25	__u8  kind;
     26};
     27
     28#define GP100_VMM_VN_FAULT_REPLAY                         NVIF_VMM_V0_MTHD(0x00)
     29#define GP100_VMM_VN_FAULT_CANCEL                         NVIF_VMM_V0_MTHD(0x01)
     30
     31struct gp100_vmm_fault_replay_vn {
     32};
     33
     34struct gp100_vmm_fault_cancel_v0 {
     35	__u8  version;
     36	__u8  hub;
     37	__u8  gpc;
     38	__u8  client;
     39	__u8  pad04[4];
     40	__u64 inst;
     41};
     42#endif