OpenCores
URL https://opencores.org/ocsvn/or1k_old/or1k_old/trunk

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [asm-m68knommu/] [types.h] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1633 jcastillo
#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
 
12
typedef 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
 
19
typedef __signed__ char __s8;
20
typedef unsigned char __u8;
21
 
22
typedef __signed__ short __s16;
23
typedef unsigned short __u16;
24
 
25
typedef __signed__ int __s32;
26
typedef unsigned int __u32;
27
 
28
#if defined(__GNUC__) && !defined(__STRICT_ANSI__)
29
typedef __signed__ long long __s64;
30
typedef 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
 
38
typedef signed char s8;
39
typedef unsigned char u8;
40
 
41
typedef signed short s16;
42
typedef unsigned short u16;
43
 
44
typedef signed int s32;
45
typedef unsigned int u32;
46
 
47
typedef signed long long s64;
48
typedef unsigned long long u64;
49
 
50
#endif /* __KERNEL__ */
51
 
52
#endif /* _M68K_TYPES_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.