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

Subversion Repositories qaz_libs

[/] [qaz_libs/] [trunk/] [cli/] [util/] [types.h] - Blame information for rev 36

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 22 qaztronic
/*
2
 * Copyright (C) 2013-2014 Synopsys, Inc. All rights reserved.
3
 *
4
 * SPDX-License-Identifier:     GPL-2.0+
5
 */
6
 
7
#ifndef __ASM_ARC_TYPES_H
8
#define __ASM_ARC_TYPES_H
9
 
10
// typedef unsigned short umode_t;
11
 
12
// /*
13
 // * __xx is ok: it doesn't pollute the POSIX namespace. Use these in the
14
 // * header files exported to user space
15
 // */
16
 
17
// typedef __signed__ char __s8;
18
// typedef unsigned char __u8;
19
 
20
// typedef __signed__ short __s16;
21
// typedef unsigned short __u16;
22
 
23
// typedef __signed__ int __s32;
24
// typedef unsigned int __u32;
25
 
26
// #if defined(__GNUC__) && !defined(__STRICT_ANSI__)
27
// typedef __signed__ long long __s64;
28
// typedef unsigned long long __u64;
29
// #endif
30
 
31
// /*
32
 // * These aren't exported outside the kernel to avoid name space clashes
33
 // */
34 27 qaztronic
// typedef signed char s8;
35
// typedef unsigned char u8;
36 22 qaztronic
 
37 27 qaztronic
// typedef signed short s16;
38
// typedef unsigned short u16;
39 22 qaztronic
 
40 27 qaztronic
// typedef signed int s32;
41
// typedef unsigned int u32;
42 22 qaztronic
 
43 27 qaztronic
// typedef signed long long s64;
44
// typedef unsigned long long u64;
45 22 qaztronic
 
46
// #define BITS_PER_LONG 32
47
 
48
// /* Dma addresses are 32-bits wide. */
49
 
50
// typedef u32 dma_addr_t;
51
 
52
typedef unsigned long phys_addr_t;
53
typedef unsigned long phys_size_t;
54
 
55
#endif /* __ASM_ARC_TYPES_H */

powered by: WebSVN 2.1.0

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