~bkerensa/ubuntu/raring/valgrind/merge-from-deb

1.1.16 by Benjamin Kerensa
Import upstream version 3.8.1
1
/*--------------------------------------------------------------------*/
2
/*--- mips/Linux-specific kernel interface: posix types.           ---*/
3
/*---                                vki-posixtypes-mips32-linux.h ---*/
4
/*--------------------------------------------------------------------*/
5
6
/*
7
   This file is part of Valgrind, a dynamic binary instrumentation
8
   framework.
9
10
   Copyright (C) 2010-2012 RT-RK
11
      mips-valgrind@rt-rk.com
12
13
   This program is free software; you can redistribute it and/or
14
   modify it under the terms of the GNU General Public License as
15
   published by the Free Software Foundation; either version 2 of the
16
   License, or (at your option) any later version.
17
18
   This program is distributed in the hope that it will be useful, but
19
   WITHOUT ANY WARRANTY; without even the implied warranty of
20
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
21
   General Public License for more details.
22
23
   You should have received a copy of the GNU General Public License
24
   along with this program; if not, write to the Free Software
25
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
26
   02111-1307, USA.
27
28
   The GNU General Public License is contained in the file COPYING.
29
*/
30
31
#ifndef __VKI_POSIXTYPES_MIPS32_LINUX_H
32
#define __VKI_POSIXTYPES_MIPS32_LINUX_H
33
34
//----------------------------------------------------------------------
35
// From linux-2.6.35.5/include/asm-mips/posix_types.h
36
//----------------------------------------------------------------------
37
38
typedef unsigned int          __vki_kernel_mode_t;
39
typedef long                  __vki_kernel_off_t;
40
typedef int                   __vki_kernel_pid_t;
41
typedef int                   __vki_kernel_ipc_pid_t;
42
typedef unsigned int          __vki_kernel_uid_t;
43
typedef unsigned int          __vki_kernel_gid_t;
44
typedef unsigned int          __vki_kernel_size_t;
45
typedef long                  __vki_kernel_time_t;
46
typedef long                  __vki_kernel_suseconds_t;
47
typedef long                  __vki_kernel_clock_t;
48
typedef int                   __vki_kernel_timer_t;
49
typedef int                   __vki_kernel_clockid_t;
50
typedef char *                __vki_kernel_caddr_t;
51
typedef unsigned int          __vki_kernel_uid32_t;
52
typedef unsigned int          __vki_kernel_gid32_t;
53
54
typedef unsigned int          __vki_kernel_old_uid_t;
55
typedef unsigned int          __vki_kernel_old_gid_t;
56
57
typedef long long             __vki_kernel_loff_t;
58
59
typedef struct {
60
    int val[2];
61
} __vki_kernel_fsid_t;
62
63
#endif // __VKI_POSIXTYPES_MIPS32_LINUX_H
64
65
/*--------------------------------------------------------------------*/
66
/*--- end                            vki-posixtypes-mips32-linux.h ---*/
67
/*--------------------------------------------------------------------*/
68