ia64/xen-unstable

view extras/mini-os/h/types.h @ 4146:f2d61710e4d9

bitkeeper revision 1.1236.25.24 (42366e9aQ71LQ8uCB-Y1IwVNqx5eqA)

Merge djm@kirby.fc.hp.com://home/djm/src/xen/xeno-unstable-ia64.bk
into sportsman.spdomain:/home/djm/xeno-unstable-ia64.bk
author djm@sportsman.spdomain
date Tue Mar 15 05:11:54 2005 +0000 (2005-03-15)
parents 7561a06348cf
children
line source
1 /* -*- Mode:C; c-basic-offset:4; tab-width:4 -*-
2 ****************************************************************************
3 * (C) 2003 - Rolf Neugebauer - Intel Research Cambridge
4 ****************************************************************************
5 *
6 * File: types.h
7 * Author: Rolf Neugebauer (neugebar@dcs.gla.ac.uk)
8 * Changes:
9 *
10 * Date: May 2003
11 *
12 * Environment: Xen Minimal OS
13 * Description: a random collection of type definitions
14 *
15 ****************************************************************************
16 * $Id: h-insert.h,v 1.4 2002/11/08 16:03:55 rn Exp $
17 ****************************************************************************
18 */
20 #ifndef _TYPES_H_
21 #define _TYPES_H_
23 typedef signed char s8;
24 typedef unsigned char u8;
25 typedef signed short s16;
26 typedef unsigned short u16;
27 typedef signed int s32;
28 typedef unsigned int u32;
29 #ifdef __i386__
30 typedef signed long long s64;
31 typedef unsigned long long u64;
32 #elif defined(__x86_64__)
33 typedef signed long s64;
34 typedef unsigned long u64;
35 #endif
37 typedef unsigned int size_t;
39 /* FreeBSD compat types */
40 typedef unsigned char u_char;
41 typedef unsigned int u_int;
42 typedef unsigned long u_long;
43 #ifdef __i386__
44 typedef long long quad_t;
45 typedef unsigned long long u_quad_t;
46 typedef unsigned int uintptr_t;
47 #elif defined(__x86_64__)
48 typedef long quad_t;
49 typedef unsigned long u_quad_t;
50 typedef unsigned long uintptr_t;
51 #endif
52 #endif /* _TYPES_H_ */