linux-old/include/asm-m68k/types.h
<<
>>
Prefs
   1#ifndef _M68K_TYPES_H
   2#define _M68K_TYPES_H
   3
   4/*
   5 * This file is never included by application software unless
   6 * explicitly requested (e.g., via linux/types.h) in which case the
   7 * application is Linux specific so (user-) name space pollution is
   8 * not a major issue.  However, for interoperability, libraries still
   9 * need to be careful to avoid a name clashes.
  10 */
  11
  12typedef unsigned short umode_t;
  13
  14/*
  15 * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
  16 * header files exported to user space
  17 */
  18
  19typedef __signed__ char __s8;
  20typedef unsigned char __u8;
  21
  22typedef __signed__ short __s16;
  23typedef unsigned short __u16;
  24
  25typedef __signed__ int __s32;
  26typedef unsigned int __u32;
  27
  28#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
  29typedef __signed__ long long __s64;
  30typedef unsigned long long __u64;
  31#endif
  32
  33/*
  34 * These aren't exported outside the kernel to avoid name space clashes
  35 */
  36#ifdef __KERNEL__
  37
  38typedef signed char s8;
  39typedef unsigned char u8;
  40
  41typedef signed short s16;
  42typedef unsigned short u16;
  43
  44typedef signed int s32;
  45typedef unsigned int u32;
  46
  47typedef signed long long s64;
  48typedef unsigned long long u64;
  49
  50#define BITS_PER_LONG 32
  51
  52/* DMA addresses are always 32-bits wide */
  53
  54typedef u32 dma_addr_t;
  55typedef u32 dma64_addr_t;
  56
  57#endif /* __KERNEL__ */
  58
  59#endif /* _M68K_TYPES_H */
  60
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.