summaryrefslogtreecommitdiffstats
path: root/StdLib/Include/Aarch64/machine/bswap.h
diff options
context:
space:
mode:
authorHarry Liebel <Harry.Liebel@arm.com>2015-07-30 09:51:04 +0000
committerlersek <lersek@Edk2>2015-07-30 09:51:04 +0000
commit1bbb83b5267b8a6701a6acae504a2b2e6b5db569 (patch)
treec42482da4a77a01d4c4910a5fc89035aa6df3fa1 /StdLib/Include/Aarch64/machine/bswap.h
parentd799c0283259ed7709055aca3871e8f67f38610a (diff)
downloadedk2-1bbb83b5267b8a6701a6acae504a2b2e6b5db569.tar.gz
edk2-1bbb83b5267b8a6701a6acae504a2b2e6b5db569.tar.bz2
edk2-1bbb83b5267b8a6701a6acae504a2b2e6b5db569.zip
StdLib: Add support for AArch64
- Use some files from ARM version. - Use NetBSD software floating point library to provide floating point operations not handled directly by hardware floating point enabled GCC compiler. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Harry Liebel <Harry.Liebel@arm.com> Reviewed-by: Olivier Martin <Olivier.Martin@arm.com> Reviewed-by: Daryl McDaniel <edk2-lists@mc2research.org> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18118 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'StdLib/Include/Aarch64/machine/bswap.h')
-rw-r--r--StdLib/Include/Aarch64/machine/bswap.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/StdLib/Include/Aarch64/machine/bswap.h b/StdLib/Include/Aarch64/machine/bswap.h
new file mode 100644
index 0000000000..142f739dc0
--- /dev/null
+++ b/StdLib/Include/Aarch64/machine/bswap.h
@@ -0,0 +1,13 @@
+/* $NetBSD: bswap.h,v 1.4 2006/01/31 07:49:18 dsl Exp $ */
+
+/* Written by Manuel Bouyer. Public domain */
+
+#ifndef _MACHINE_BSWAP_H_
+#define _MACHINE_BSWAP_H_
+
+#include <machine/byte_swap.h>
+
+#define __BSWAP_RENAME
+#include <sys/bswap.h>
+
+#endif /* !_MACHINE_BSWAP_H_ */