Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
types.h
Package: linux-2.4.20.tar.gz [view]
Upload User: jlfgdled
Upload Date: 2013-04-10
Package Size: 33168k
Code Size: 2k
Category:
Linux-Unix program
Development Platform:
Unix_Linux
- /*
- * This file is subject to the terms and conditions of the GNU General Public
- * License. See the file "COPYING" in the main directory of this archive
- * for more details.
- *
- * Copyright 1999 Ralf Baechle (ralf@gnu.org)
- * Copyright 1999 Silicon Graphics, Inc.
- */
- #ifndef _ASM_ARC_TYPES_H
- #define _ASM_ARC_TYPES_H
- #include <linux/config.h>
- #ifdef CONFIG_ARC32
- typedef char CHAR;
- typedef short SHORT;
- typedef long LARGE_INTEGER __attribute__ ((__mode__ (__DI__)));
- typedef long LONG __attribute__ ((__mode__ (__SI__)));
- typedef unsigned char UCHAR;
- typedef unsigned short USHORT;
- typedef unsigned long ULONG __attribute__ ((__mode__ (__SI__)));
- typedef void VOID;
- /* The pointer types. Note that we're using a 64-bit compiler but all
- pointer in the ARC structures are only 32-bit, so we need some disgusting
- workarounds. Keep your vomit bag handy. */
- typedef LONG _PCHAR;
- typedef LONG _PSHORT;
- typedef LONG _PLARGE_INTEGER;
- typedef LONG _PLONG;
- typedef LONG _PUCHAR;
- typedef LONG _PUSHORT;
- typedef LONG _PULONG;
- typedef LONG _PVOID;
- #endif /* CONFIG_ARC32 */
- #ifdef CONFIG_ARC64
- typedef char CHAR;
- typedef short SHORT;
- typedef long LARGE_INTEGER __attribute__ ((__mode__ (__DI__)));
- typedef long LONG __attribute__ ((__mode__ (__DI__)));
- typedef unsigned char UCHAR;
- typedef unsigned short USHORT;
- typedef unsigned long ULONG __attribute__ ((__mode__ (__DI__)));
- typedef void VOID;
- /* The pointer types. We're 64-bit and the firmware is also 64-bit, so
- live is sane ... */
- typedef CHAR *_PCHAR;
- typedef SHORT *_PSHORT;
- typedef LARGE_INTEGER *_PLARGE_INTEGER;
- typedef LONG *_PLONG;
- typedef UCHAR *_PUCHAR;
- typedef USHORT *_PUSHORT;
- typedef ULONG *_PULONG;
- typedef VOID *_PVOID;
- #endif /* CONFIG_ARC64 */
- typedef CHAR *PCHAR;
- typedef SHORT *PSHORT;
- typedef LARGE_INTEGER *PLARGE_INTEGER;
- typedef LONG *PLONG;
- typedef UCHAR *PUCHAR;
- typedef USHORT *PUSHORT;
- typedef ULONG *PULONG;
- typedef VOID *PVOID;
- #endif /* _ASM_ARC_TYPES_H */