Back to home page

EIC code displayed by LXR

 
 

    


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

0001 
0002 /*--------------------------------------------------------------------*/
0003 /*--- mips/Linux-specific kernel interface: posix types.           ---*/
0004 /*---                                vki-posixtypes-mips32-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    The GNU General Public License is contained in the file COPYING.
0027 */
0028 
0029 #ifndef __VKI_POSIXTYPES_MIPS32_LINUX_H
0030 #define __VKI_POSIXTYPES_MIPS32_LINUX_H
0031 
0032 //----------------------------------------------------------------------
0033 // From linux-2.6.35.5/include/asm-mips/posix_types.h
0034 //----------------------------------------------------------------------
0035 
0036 typedef unsigned int          __vki_kernel_mode_t;
0037 typedef long                  __vki_kernel_off_t;
0038 typedef int                   __vki_kernel_pid_t;
0039 typedef int                   __vki_kernel_ipc_pid_t;
0040 typedef unsigned int          __vki_kernel_uid_t;
0041 typedef unsigned int          __vki_kernel_gid_t;
0042 typedef unsigned int          __vki_kernel_size_t;
0043 typedef long                  __vki_kernel_time_t;
0044 typedef long                  __vki_kernel_suseconds_t;
0045 typedef long                  __vki_kernel_clock_t;
0046 typedef int                   __vki_kernel_timer_t;
0047 typedef int                   __vki_kernel_clockid_t;
0048 typedef char *                __vki_kernel_caddr_t;
0049 typedef unsigned int          __vki_kernel_uid32_t;
0050 typedef unsigned int          __vki_kernel_gid32_t;
0051 
0052 typedef unsigned int          __vki_kernel_old_uid_t;
0053 typedef unsigned int          __vki_kernel_old_gid_t;
0054 
0055 typedef long long             __vki_kernel_loff_t;
0056 
0057 typedef struct {
0058     int val[2];
0059 } __vki_kernel_fsid_t;
0060 
0061 #endif // __VKI_POSIXTYPES_MIPS32_LINUX_H
0062 
0063 /*--------------------------------------------------------------------*/
0064 /*--- end                            vki-posixtypes-mips32-linux.h ---*/
0065 /*--------------------------------------------------------------------*/