summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/include/bits
diff options
context:
space:
mode:
authorMichael Brown2007-08-17 20:51:08 +0200
committerMichael Brown2007-08-17 20:51:08 +0200
commiteff8b06effbe41fa4881f724ef73e70ef5eebb40 (patch)
treec008559ab9e17c11e3a407862f6798fd19f444e2 /src/arch/i386/include/bits
parentUse start_timer_nodelay() in protocols which rely on the retry timer (diff)
downloadipxe-eff8b06effbe41fa4881f724ef73e70ef5eebb40.tar.gz
ipxe-eff8b06effbe41fa4881f724ef73e70ef5eebb40.tar.xz
ipxe-eff8b06effbe41fa4881f724ef73e70ef5eebb40.zip
Separate out arch-independent parts of stdint.h
Diffstat (limited to 'src/arch/i386/include/bits')
-rw-r--r--src/arch/i386/include/bits/stdint.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/arch/i386/include/bits/stdint.h b/src/arch/i386/include/bits/stdint.h
new file mode 100644
index 000000000..a2947cda9
--- /dev/null
+++ b/src/arch/i386/include/bits/stdint.h
@@ -0,0 +1,21 @@
+#ifndef _BITS_STDINT_H
+#define _BITS_STDINT_H
+
+typedef typeof(sizeof(int)) size_t;
+typedef signed long ssize_t;
+typedef signed long off_t;
+
+typedef unsigned char uint8_t;
+typedef unsigned short uint16_t;
+typedef unsigned long uint32_t;
+typedef unsigned long long uint64_t;
+
+typedef signed char int8_t;
+typedef signed short int16_t;
+typedef signed long int32_t;
+typedef signed long long int64_t;
+
+typedef unsigned long physaddr_t;
+typedef unsigned long intptr_t;
+
+#endif /* _BITS_STDINT_H */