kernel_types.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. /*
  2. * sysdeps/linux/v850/bits/kernel_types.h -- Kernel versions of standard types
  3. *
  4. * Copyright (C) 2001,2002 NEC Corporation
  5. * Copyright (C) 2001,2002 Miles Bader <miles@gnu.org>
  6. *
  7. * This file is subject to the terms and conditions of the GNU Lesser
  8. * General Public License. See the file COPYING.LIB in the main
  9. * directory of this archive for more details.
  10. *
  11. * Written by Miles Bader <miles@gnu.org>
  12. */
  13. #ifndef __V850_POSIX_TYPES_H__
  14. #define __V850_POSIX_TYPES_H__
  15. typedef unsigned int __kernel_dev_t;
  16. typedef unsigned long __kernel_ino_t;
  17. typedef unsigned long long __kernel_ino64_t;
  18. typedef unsigned int __kernel_mode_t;
  19. typedef unsigned int __kernel_nlink_t;
  20. typedef long __kernel_off_t;
  21. typedef long long __kernel_loff_t;
  22. typedef int __kernel_pid_t;
  23. typedef unsigned short __kernel_ipc_pid_t;
  24. typedef unsigned int __kernel_uid_t;
  25. typedef unsigned int __kernel_gid_t;
  26. typedef unsigned int __kernel_size_t;
  27. typedef int __kernel_ssize_t;
  28. typedef int __kernel_ptrdiff_t;
  29. typedef long __kernel_time_t;
  30. typedef long __kernel_suseconds_t;
  31. typedef long __kernel_clock_t;
  32. typedef int __kernel_daddr_t;
  33. typedef char * __kernel_caddr_t;
  34. typedef unsigned short __kernel_uid16_t;
  35. typedef unsigned short __kernel_gid16_t;
  36. typedef unsigned int __kernel_uid32_t;
  37. typedef unsigned int __kernel_gid32_t;
  38. typedef unsigned short __kernel_old_uid_t;
  39. typedef unsigned short __kernel_old_gid_t;
  40. typedef __kernel_dev_t __kernel_old_dev_t;
  41. typedef long __kernel_long_t;
  42. typedef unsigned long __kernel_ulong_t;
  43. typedef struct {
  44. #ifdef __USE_ALL
  45. int val[2];
  46. #else
  47. int __val[2];
  48. #endif
  49. } __kernel_fsid_t;
  50. #endif /* __V850_POSIX_TYPES_H__ */