Back to home page

EIC code displayed by LXR

 
 

    


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

0001 
0002 /*--------------------------------------------------------------------*/
0003 /*--- mips/Linux-specific kernel interface: posix types.           ---*/
0004 /*---                                vki-posixtypes-mips64-linux.h ---*/
0005 /*--------------------------------------------------------------------*/
0006 
0007 /*
0008    This file is part of Valgrind, a dynamic binary instrumentation
0009    framework.
0010 
0011    Copyright (C) 2010-2017 RT-RK
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 
0027 #ifndef __VKI_POSIXTYPES_MIPS64_LINUX_H
0028 #define __VKI_POSIXTYPES_MIPS64_LINUX_H
0029 
0030 typedef unsigned long   __vki_kernel_ino_t;
0031 typedef unsigned int    __vki_kernel_mode_t;
0032 #if (_MIPS_SZLONG == 32)
0033 typedef unsigned long   __vki_kernel_nlink_t;
0034 #endif
0035 #if (_MIPS_SZLONG == 64)
0036 typedef unsigned int    __vki_kernel_nlink_t;
0037 #endif
0038 typedef long            __vki_kernel_off_t;
0039 typedef int             __vki_kernel_pid_t;
0040 typedef int             __vki_kernel_ipc_pid_t;
0041 typedef unsigned int    __vki_kernel_uid_t;
0042 typedef unsigned int    __vki_kernel_gid_t;
0043 #if (_MIPS_SZLONG == 32)
0044 typedef unsigned int    __vki_kernel_size_t;
0045 typedef int             __vki_kernel_ssize_t;
0046 typedef int             __vki_kernel_ptrdiff_t;
0047 #endif
0048 #if (_MIPS_SZLONG == 64)
0049 typedef unsigned long   __vki_kernel_size_t;
0050 typedef long            __vki_kernel_ssize_t;
0051 typedef long            __vki_kernel_ptrdiff_t;
0052 #endif
0053 typedef long            __vki_kernel_time_t;
0054 typedef long            __vki_kernel_suseconds_t;
0055 typedef long            __vki_kernel_clock_t;
0056 typedef int             __vki_kernel_timer_t;
0057 typedef int             __vki_kernel_clockid_t;
0058 typedef long            __vki_kernel_daddr_t;
0059 typedef char *          __vki_kernel_caddr_t;
0060 
0061 typedef unsigned short  __vki_kernel_uid16_t;
0062 typedef unsigned short  __vki_kernel_gid16_t;
0063 typedef unsigned int    __vki_kernel_uid32_t;
0064 typedef unsigned int    __vki_kernel_gid32_t;
0065 typedef __vki_kernel_uid_t  __vki_kernel_old_uid_t;
0066 typedef __vki_kernel_gid_t  __vki_kernel_old_gid_t;
0067 typedef unsigned int    __vki_kernel_old_dev_t;
0068 
0069 typedef long long      __vki_kernel_loff_t;
0070 
0071 typedef struct {
0072 #if (_MIPS_SZLONG == 32)
0073         long    val[2];
0074 #endif
0075 #if (_MIPS_SZLONG == 64)
0076         int     val[2];
0077 #endif
0078 } __vki_kernel_fsid_t;
0079 
0080 #endif // __VKI_POSIXTYPES_MIPS64_LINUX_H
0081 
0082 /*--------------------------------------------------------------------*/
0083 /*--- end                              vki-posixtypes-mips-linux.h ---*/
0084 /*--------------------------------------------------------------------*/