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

tpi.h (490B)


      1/* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */
      2#ifndef _ASM_S390_TPI_H
      3#define _ASM_S390_TPI_H
      4
      5#include <linux/types.h>
      6#include <uapi/asm/schid.h>
      7
      8#ifndef __ASSEMBLY__
      9
     10/* I/O-Interruption Code as stored by TEST PENDING INTERRUPTION (TPI). */
     11struct tpi_info {
     12	struct subchannel_id schid;
     13	u32 intparm;
     14	u32 adapter_IO:1;
     15	u32 directed_irq:1;
     16	u32 isc:3;
     17	u32 :12;
     18	u32 type:3;
     19	u32 :12;
     20} __packed __aligned(4);
     21
     22#endif /* __ASSEMBLY__ */
     23
     24#endif /* _ASM_S390_TPI_H */