]> Git Repo - linux.git/blob - arch/s390/include/asm/fault.h
Linux 6.14-rc3
[linux.git] / arch / s390 / include / asm / fault.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  *    Copyright IBM Corp. 1999, 2023
4  */
5 #ifndef _ASM_S390_FAULT_H
6 #define _ASM_S390_FAULT_H
7
8 union teid {
9         unsigned long val;
10         struct {
11                 unsigned long addr : 52; /* Translation-exception Address */
12                 unsigned long fsi  : 2;  /* Access Exception Fetch/Store Indication */
13                 unsigned long      : 2;
14                 unsigned long b56  : 1;
15                 unsigned long      : 3;
16                 unsigned long b60  : 1;
17                 unsigned long b61  : 1;
18                 unsigned long as   : 2;  /* ASCE Identifier */
19         };
20 };
21
22 enum {
23         TEID_FSI_UNKNOWN = 0, /* Unknown whether fetch or store */
24         TEID_FSI_STORE   = 1, /* Exception was due to store operation */
25         TEID_FSI_FETCH   = 2  /* Exception was due to fetch operation */
26 };
27
28 #endif /* _ASM_S390_FAULT_H */
This page took 0.030436 seconds and 4 git commands to generate.