Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:13:24

0001 
0002 /*--------------------------------------------------------------------*/
0003 /*--- s390x/Linux-specific kernel interface: posix types.          ---*/
0004 /*---                                 vki-posixtypes-s390x-linux.h ---*/
0005 /*--------------------------------------------------------------------*/
0006 
0007 /*
0008    This file is part of Valgrind, a dynamic binary instrumentation
0009    framework.
0010 
0011    Copyright IBM Corp. 2010-2017
0012 
0013    This program is free software; you can redistribute it and/or
0014    modify it under the terms of the GNU General Public License as
0015    published by the Free Software Foundation; either version 2 of the
0016    License, or (at your option) any later version.
0017 
0018    This program is distributed in the hope that it will be useful, but
0019    WITHOUT ANY WARRANTY; without even the implied warranty of
0020    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
0021    General Public License for more details.
0022 
0023    You should have received a copy of the GNU General Public License
0024    along with this program; if not, see <http://www.gnu.org/licenses/>.
0025 
0026    The GNU General Public License is contained in the file COPYING.
0027 */
0028 
0029 /* Contributed by Florian Krohm and Volker Sameske */
0030 
0031 #ifndef __VKI_POSIXTYPES_S390X_LINUX_H
0032 #define __VKI_POSIXTYPES_S390X_LINUX_H
0033 
0034 //----------------------------------------------------------------------
0035 // From linux-2.6.16.60/include/asm-s390/posix_types.h
0036 //----------------------------------------------------------------------
0037 
0038 typedef long            __vki_kernel_off_t;
0039 typedef int             __vki_kernel_pid_t;
0040 typedef unsigned long   __vki_kernel_size_t;
0041 typedef long            __vki_kernel_time_t;
0042 typedef long            __vki_kernel_suseconds_t;
0043 typedef long            __vki_kernel_clock_t;
0044 typedef int     __vki_kernel_timer_t;
0045 typedef int     __vki_kernel_clockid_t;
0046 typedef int             __vki_kernel_daddr_t;
0047 typedef char *          __vki_kernel_caddr_t;
0048 typedef unsigned short  __vki_kernel_uid16_t;
0049 typedef unsigned short  __vki_kernel_gid16_t;
0050 typedef long long       __vki_kernel_loff_t;
0051 
0052 typedef unsigned int    __vki_kernel_ino_t;
0053 typedef unsigned int    __vki_kernel_mode_t;
0054 typedef unsigned int    __vki_kernel_nlink_t;
0055 typedef int             __vki_kernel_ipc_pid_t;
0056 typedef unsigned int    __vki_kernel_uid_t;
0057 typedef unsigned int    __vki_kernel_gid_t;
0058 typedef long            __vki_kernel_ssize_t;
0059 typedef long            __vki_kernel_ptrdiff_t;
0060 typedef unsigned long   __vki_kernel_sigset_t;      /* at least 32 bits */
0061 typedef __vki_kernel_uid_t __vki_kernel_old_uid_t;
0062 typedef __vki_kernel_gid_t __vki_kernel_old_gid_t;
0063 typedef __vki_kernel_uid_t __vki_kernel_uid32_t;
0064 typedef __vki_kernel_gid_t __vki_kernel_gid32_t;
0065 typedef unsigned short __vki_kernel_old_dev_t;
0066 
0067 typedef struct {
0068    int val[2];
0069 } __vki_kernel_fsid_t;
0070 
0071 #endif // __VKI_POSIXTYPES_S390X_LINUX_H
0072 
0073 /*--------------------------------------------------------------------*/
0074 /*--- end                                                          ---*/
0075 /*--------------------------------------------------------------------*/