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

M0209.h (721B)


      1/* SPDX-License-Identifier: MIT */
      2#ifndef __NVBIOS_M0209_H__
      3#define __NVBIOS_M0209_H__
      4u32 nvbios_M0209Te(struct nvkm_bios *,
      5		   u8 *ver, u8 *hdr, u8 *cnt, u8 *len, u8 *snr, u8 *ssz);
      6
      7struct nvbios_M0209E {
      8	u8 v00_40;
      9	u8 bits;
     10	u8 modulo;
     11	u8 v02_40;
     12	u8 v02_07;
     13	u8 v03;
     14};
     15
     16u32 nvbios_M0209Ee(struct nvkm_bios *, int idx,
     17		   u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
     18u32 nvbios_M0209Ep(struct nvkm_bios *, int idx,
     19		   u8 *ver, u8 *hdr, u8 *cnt, u8 *len, struct nvbios_M0209E *);
     20
     21struct nvbios_M0209S {
     22	u32 data[0x200];
     23};
     24
     25u32 nvbios_M0209Se(struct nvkm_bios *, int ent, int idx, u8 *ver, u8 *hdr);
     26u32 nvbios_M0209Sp(struct nvkm_bios *, int ent, int idx, u8 *ver, u8 *hdr,
     27		   struct nvbios_M0209S *);
     28#endif