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-nanomips-linux.h ---*/
0005 /*--------------------------------------------------------------------*/
0006 
0007 /*
0008    This file is part of Valgrind, a dynamic binary instrumentation
0009    framework.
0010 
0011    Copyright (C) 2018-2019 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, write to the Free Software
0025    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
0026    02111-1307, USA.
0027 
0028    The GNU General Public License is contained in the file COPYING.
0029 */
0030 
0031 #ifndef __VKI_POSIXTYPES_NANOMIPS_LINUX_H
0032 #define __VKI_POSIXTYPES_NANOMIPS_LINUX_H
0033 
0034 //----------------------------------------------------------------------
0035 // From linux-2.6.35.5/include/asm-mips/posix_types.h
0036 //----------------------------------------------------------------------
0037 
0038 typedef unsigned int          __vki_kernel_mode_t;
0039 typedef long                  __vki_kernel_off_t;
0040 typedef int                   __vki_kernel_pid_t;
0041 typedef int                   __vki_kernel_ipc_pid_t;
0042 typedef unsigned int          __vki_kernel_uid_t;
0043 typedef unsigned int          __vki_kernel_gid_t;
0044 typedef unsigned int          __vki_kernel_size_t;
0045 typedef long                  __vki_kernel_time_t;
0046 typedef long                  __vki_kernel_suseconds_t;
0047 typedef long                  __vki_kernel_clock_t;
0048 typedef int                   __vki_kernel_timer_t;
0049 typedef int                   __vki_kernel_clockid_t;
0050 typedef char *                __vki_kernel_caddr_t;
0051 typedef unsigned int          __vki_kernel_uid32_t;
0052 typedef unsigned int          __vki_kernel_gid32_t;
0053 
0054 typedef unsigned int          __vki_kernel_old_uid_t;
0055 typedef unsigned int          __vki_kernel_old_gid_t;
0056 
0057 typedef long long             __vki_kernel_loff_t;
0058 
0059 typedef struct {
0060    int val[2];
0061 } __vki_kernel_fsid_t;
0062 
0063 #endif // __VKI_POSIXTYPES_NANOMIPS_LINUX_H
0064 
0065 /*--------------------------------------------------------------------*/
0066 /*--- end                          vki-posixtypes-nanomips-linux.h ---*/
0067 /*--------------------------------------------------------------------*/