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

rammap.h (1053B)


      1/* SPDX-License-Identifier: MIT */
      2#ifndef __NVBIOS_RAMMAP_H__
      3#define __NVBIOS_RAMMAP_H__
      4#include <subdev/bios/ramcfg.h>
      5
      6u32 nvbios_rammapTe(struct nvkm_bios *, u8 *ver, u8 *hdr,
      7		    u8 *cnt, u8 *len, u8 *snr, u8 *ssz);
      8
      9u32 nvbios_rammapEe(struct nvkm_bios *, int idx,
     10		    u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
     11u32 nvbios_rammapEp_from_perf(struct nvkm_bios *bios, u32 data, u8 size,
     12		    struct nvbios_ramcfg *p);
     13u32 nvbios_rammapEp(struct nvkm_bios *, int idx,
     14		    u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ramcfg *);
     15u32 nvbios_rammapEm(struct nvkm_bios *, u16 mhz,
     16		    u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_ramcfg *);
     17
     18u32 nvbios_rammapSe(struct nvkm_bios *, u32 data,
     19		    u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx,
     20		    u8 *ver, u8 *hdr);
     21u32 nvbios_rammapSp_from_perf(struct nvkm_bios *bios, u32 data, u8 size, int idx,
     22		    struct nvbios_ramcfg *p);
     23u32 nvbios_rammapSp(struct nvkm_bios *, u32 data,
     24		    u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx,
     25		    u8 *ver, u8 *hdr, struct nvbios_ramcfg *);
     26#endif