aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/h/types.h
diff options
context:
space:
mode:
authoriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>2003-10-06 17:18:26 +0000
committeriap10@labyrinth.cl.cam.ac.uk <iap10@labyrinth.cl.cam.ac.uk>2003-10-06 17:18:26 +0000
commite4130630e189f44c1371dc8c78b66b8bcf6df732 (patch)
tree8502aa47aab90a0e59e3db0da53ada16f48a4213 /extras/mini-os/h/types.h
parentcc2ec41082ca2cc7c641794b3f52c4ee8233dc5f (diff)
downloadxen-e4130630e189f44c1371dc8c78b66b8bcf6df732.tar.gz
xen-e4130630e189f44c1371dc8c78b66b8bcf6df732.tar.bz2
xen-e4130630e189f44c1371dc8c78b66b8bcf6df732.zip
bitkeeper revision 1.483 (3f81a3e2iM-0WXaGxUS3ywM3_KZqLw)
move mini-os to extras directory
Diffstat (limited to 'extras/mini-os/h/types.h')
-rw-r--r--extras/mini-os/h/types.h41
1 files changed, 41 insertions, 0 deletions
diff --git a/extras/mini-os/h/types.h b/extras/mini-os/h/types.h
new file mode 100644
index 0000000000..4f87a74e99
--- /dev/null
+++ b/extras/mini-os/h/types.h
@@ -0,0 +1,41 @@
+/* -*- Mode:C; c-basic-offset:4; tab-width:4 -*-
+ ****************************************************************************
+ * (C) 2003 - Rolf Neugebauer - Intel Research Cambridge
+ ****************************************************************************
+ *
+ * File: types.h
+ * Author: Rolf Neugebauer (neugebar@dcs.gla.ac.uk)
+ * Changes:
+ *
+ * Date: May 2003
+ *
+ * Environment: Xeno Minimal OS
+ * Description: a random collection of type definitions
+ *
+ ****************************************************************************
+ * $Id: h-insert.h,v 1.4 2002/11/08 16:03:55 rn Exp $
+ ****************************************************************************
+ */
+
+#ifndef _TYPES_H_
+#define _TYPES_H_
+
+typedef signed char s8;
+typedef unsigned char u8;
+typedef signed short s16;
+typedef unsigned short u16;
+typedef signed int s32;
+typedef unsigned int u32;
+typedef signed long long s64;
+typedef unsigned long long u64;
+
+typedef unsigned int size_t;
+
+/* FreeBSD compat types */
+typedef unsigned char u_char;
+typedef unsigned int u_int;
+typedef unsigned long u_long;
+typedef long long quad_t;
+typedef unsigned long long u_quad_t;
+typedef unsigned int uintptr_t;
+#endif /* _TYPES_H_ */