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

schid.h (380B)


      1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
      2#ifndef _UAPIASM_SCHID_H
      3#define _UAPIASM_SCHID_H
      4
      5#include <linux/types.h>
      6
      7#ifndef __ASSEMBLY__
      8
      9struct subchannel_id {
     10	__u32 cssid : 8;
     11	__u32 : 4;
     12	__u32 m : 1;
     13	__u32 ssid : 2;
     14	__u32 one : 1;
     15	__u32 sch_no : 16;
     16} __attribute__ ((packed, aligned(4)));
     17
     18#endif /* __ASSEMBLY__ */
     19
     20#endif /* _UAPIASM_SCHID_H */