summaryrefslogtreecommitdiffstats
path: root/ArmPkg/Library/ArmSoftFloatLib/milieu.h
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2015-11-30 08:56:52 +0000
committerabiesheuvel <abiesheuvel@Edk2>2015-11-30 08:56:52 +0000
commit1dbda2b4cfd60e5955cde98aec6537816af8be5e (patch)
tree08734bdb485567306c9b013285f7b5cb705441b0 /ArmPkg/Library/ArmSoftFloatLib/milieu.h
parentcd32c66f94b44590053d79c45b8106ccc47ba247 (diff)
downloadedk2-1dbda2b4cfd60e5955cde98aec6537816af8be5e.tar.gz
edk2-1dbda2b4cfd60e5955cde98aec6537816af8be5e.tar.bz2
edk2-1dbda2b4cfd60e5955cde98aec6537816af8be5e.zip
ArmPkg: factor out softfloat support from StdLib/LibC/SoftFloat
In order to support software floating point in the context of DXE drivers etc, this factors out the core ARM softfloat support into a separate library. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Leif Lindholm <leif.lindholm@linaro.org> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19030 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'ArmPkg/Library/ArmSoftFloatLib/milieu.h')
-rw-r--r--ArmPkg/Library/ArmSoftFloatLib/milieu.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/ArmPkg/Library/ArmSoftFloatLib/milieu.h b/ArmPkg/Library/ArmSoftFloatLib/milieu.h
new file mode 100644
index 0000000000..8f4ac00076
--- /dev/null
+++ b/ArmPkg/Library/ArmSoftFloatLib/milieu.h
@@ -0,0 +1,38 @@
+/* $NetBSD: milieu.h,v 1.1 2000/12/29 20:13:54 bjh21 Exp $ */
+
+/*
+===============================================================================
+
+This C header file is part of the SoftFloat IEC/IEEE Floating-point
+Arithmetic Package, Release 2a.
+
+Written by John R. Hauser. This work was made possible in part by the
+International Computer Science Institute, located at Suite 600, 1947 Center
+Street, Berkeley, California 94704. Funding was partially provided by the
+National Science Foundation under grant MIP-9311980. The original version
+of this code was written as part of a project to build a fixed-point vector
+processor in collaboration with the University of California at Berkeley,
+overseen by Profs. Nelson Morgan and John Wawrzynek. More information
+is available through the Web page `http://HTTP.CS.Berkeley.EDU/~jhauser/
+arithmetic/SoftFloat.html'.
+
+THIS SOFTWARE IS DISTRIBUTED AS IS, FOR FREE. Although reasonable effort
+has been made to avoid it, THIS SOFTWARE MAY CONTAIN FAULTS THAT WILL AT
+TIMES RESULT IN INCORRECT BEHAVIOR. USE OF THIS SOFTWARE IS RESTRICTED TO
+PERSONS AND ORGANIZATIONS WHO CAN AND WILL TAKE FULL RESPONSIBILITY FOR ANY
+AND ALL LOSSES, COSTS, OR OTHER PROBLEMS ARISING FROM ITS USE.
+
+Derivative works are acceptable, even for commercial purposes, so long as
+(1) they include prominent notice that the work is derivative, and (2) they
+include prominent notice akin to these four paragraphs for those parts of
+this code that are retained.
+
+===============================================================================
+*/
+
+/*
+-------------------------------------------------------------------------------
+Include common integer types and flags.
+-------------------------------------------------------------------------------
+*/
+#include "arm-gcc.h"