summaryrefslogtreecommitdiff
path: root/libc/include/asm/types.h
diff options
context:
space:
mode:
authorRobert de Bath <rdebath@poboxes.com>1997-10-05 15:05:09 +0200
committerLubomir Rintel <lkundrak@v3.sk>2013-10-23 23:40:02 +0200
commit48798bf2eb93ec3b99720ac2e16093441156653d (patch)
tree35e03d95df5f2677f05e32d70abb6d0583aa47ba /libc/include/asm/types.h
parent9d97bc3cb3aecd3416fb7c4be3ca2f436665b696 (diff)
downloaddev86-48798bf2eb93ec3b99720ac2e16093441156653d.tar.gz
Import Dev86src-0.13.0.tar.gzv0.13.0
Diffstat (limited to 'libc/include/asm/types.h')
-rw-r--r--libc/include/asm/types.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/libc/include/asm/types.h b/libc/include/asm/types.h
new file mode 100644
index 0000000..f4d9f46
--- /dev/null
+++ b/libc/include/asm/types.h
@@ -0,0 +1,34 @@
+
+/* asm/types.h - Basic sized C data types. */
+
+#ifndef __ASM_8086_TYPES
+#define __ASM_8086_TYPES
+
+/* First we define all of the __u and __s types...*/
+
+typedef unsigned char __u8;
+typedef unsigned char * __pu8;
+
+#ifndef __BCC__ /* NOTE! BCC does _not_ have a signed char type! */
+typedef char __s8;
+typedef char * __ps8;
+#endif
+
+typedef unsigned short __u16;
+typedef unsigned short * __pu16;
+typedef short __s16;
+typedef short * __ps16;
+
+typedef unsigned long __u32;
+typedef unsigned long * __pu32;
+typedef long __s32;
+typedef long * __ps32;
+
+/* __uint == 16bit on 8086 32bit on i386 */
+
+typedef unsigned int __uint;
+typedef int __sint;
+typedef unsigned int * __puint;
+typedef int * __psint;
+
+#endif