summaryrefslogtreecommitdiffstats
path: root/src/arch/arm64/include/bits/stdint.h
diff options
context:
space:
mode:
authorMichael Brown2016-05-08 01:20:20 +0200
committerMichael Brown2016-05-08 01:20:20 +0200
commit17c6f322eef5e0a2250a89b140486cf07598d2fa (patch)
treec67442d1e56245b42f9e7b98f9fa0e7b9cc24b1d /src/arch/arm64/include/bits/stdint.h
parent[arm] Split out 32-bit-specific code to arch/arm32 (diff)
downloadipxe-17c6f322eef5e0a2250a89b140486cf07598d2fa.tar.gz
ipxe-17c6f322eef5e0a2250a89b140486cf07598d2fa.tar.xz
ipxe-17c6f322eef5e0a2250a89b140486cf07598d2fa.zip
[arm] Add support for 64-bit ARM (Aarch64)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/arm64/include/bits/stdint.h')
-rw-r--r--src/arch/arm64/include/bits/stdint.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/arch/arm64/include/bits/stdint.h b/src/arch/arm64/include/bits/stdint.h
new file mode 100644
index 000000000..9eb72e9c4
--- /dev/null
+++ b/src/arch/arm64/include/bits/stdint.h
@@ -0,0 +1,21 @@
+#ifndef _BITS_STDINT_H
+#define _BITS_STDINT_H
+
+typedef __SIZE_TYPE__ size_t;
+typedef signed long ssize_t;
+typedef signed long off_t;
+
+typedef unsigned char uint8_t;
+typedef unsigned short uint16_t;
+typedef unsigned int uint32_t;
+typedef unsigned long long uint64_t;
+
+typedef signed char int8_t;
+typedef signed short int16_t;
+typedef signed int int32_t;
+typedef signed long long int64_t;
+
+typedef unsigned long physaddr_t;
+typedef unsigned long intptr_t;
+
+#endif /* _BITS_STDINT_H */