summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2007-08-17 20:51:08 +0200
committerMichael Brown2007-08-17 20:51:35 +0200
commitd0974ec7166c42be774d32df954a0e71283fa245 (patch)
treec07541bd6b33f4c2d5c4b36770b08b659f8e11e2 /src/include
parentImported latest versions from Etherboot 5.4 (diff)
downloadipxe-d0974ec7166c42be774d32df954a0e71283fa245.tar.gz
ipxe-d0974ec7166c42be774d32df954a0e71283fa245.tar.xz
ipxe-d0974ec7166c42be774d32df954a0e71283fa245.zip
Separate out arch-independent parts of stdint.h
Diffstat (limited to 'src/include')
-rw-r--r--src/include/stdint.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/include/stdint.h b/src/include/stdint.h
new file mode 100644
index 000000000..4b0e44f2e
--- /dev/null
+++ b/src/include/stdint.h
@@ -0,0 +1,24 @@
+#ifndef _STDINT_H
+#define _STDINT_H
+
+#include <bits/stdint.h>
+
+typedef int8_t s8;
+typedef uint8_t u8;
+typedef int16_t s16;
+typedef uint16_t u16;
+typedef int32_t s32;
+typedef uint32_t u32;
+typedef int64_t s64;
+typedef uint64_t u64;
+
+typedef int8_t int8;
+typedef uint8_t uint8;
+typedef int16_t int16;
+typedef uint16_t uint16;
+typedef int32_t int32;
+typedef uint32_t uint32;
+typedef int64_t int64;
+typedef uint64_t uint64;
+
+#endif /* _STDINT_H */