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

mem.h (619B)


      1#ifndef __NVIF_MEM_H__
      2#define __NVIF_MEM_H__
      3#include "mmu.h"
      4
      5struct nvif_mem {
      6	struct nvif_object object;
      7	u8  type;
      8	u8  page;
      9	u64 addr;
     10	u64 size;
     11};
     12
     13int nvif_mem_ctor_type(struct nvif_mmu *mmu, const char *name, s32 oclass,
     14		       int type, u8 page, u64 size, void *argv, u32 argc,
     15		       struct nvif_mem *);
     16int nvif_mem_ctor(struct nvif_mmu *mmu, const char *name, s32 oclass, u8 type,
     17		  u8 page, u64 size, void *argv, u32 argc, struct nvif_mem *);
     18void nvif_mem_dtor(struct nvif_mem *);
     19
     20int nvif_mem_ctor_map(struct nvif_mmu *, const char *name, u8 type, u64 size,
     21		      struct nvif_mem *);
     22#endif