Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-30 10:25:30

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