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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [uclinux/] [uClinux-2.0.x/] [include/] [asm-sparc/] [types.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
/* $Id: types.h,v 1.1.1.1 2001-09-10 07:44:43 simons Exp $ */
2
#ifndef _SPARC_TYPES_H
3
#define _SPARC_TYPES_H
4
 
5
/*
6
 * _xx is ok: it doesn't pollute the POSIX namespace. Use these in the
7
 * header files exported to user space.
8
 */
9
 
10
/*
11
 * This file is never included by application software unless
12
 * explicitly requested (e.g., via linux/types.h) in which case the
13
 * application is Linux specific so (user-) name space pollution is
14
 * not a major issue.  However, for interoperability, libraries still
15
 * need to be careful to avoid a name clashes.
16
 */
17
 
18
typedef unsigned short umode_t;
19
 
20
typedef signed char __s8;
21
typedef unsigned char __u8;
22
 
23
typedef signed short __s16;
24
typedef unsigned short __u16;
25
 
26
typedef signed int __s32;
27
typedef unsigned int __u32;
28
 
29
typedef signed long long __s64;
30
typedef unsigned long long __u64;
31
 
32
#ifdef __KERNEL__
33
 
34
typedef signed char s8;
35
typedef unsigned char u8;
36
 
37
typedef signed short s16;
38
typedef unsigned short u16;
39
 
40
typedef signed int s32;
41
typedef unsigned int u32;
42
 
43
typedef signed long long s64;
44
typedef unsigned long long u64;
45
 
46
#endif /* __KERNEL__ */
47
 
48
#endif /* defined(_SPARC_TYPES_H) */

powered by: WebSVN 2.1.0

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