]> git.proxmox.com Git - mirror_edk2.git/blobdiff - CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / CryptoPkg / Library / IntrinsicLib / IntrinsicLib.inf
index e830c6afac984cda71c1a082d275a37f3d72c21c..86e74b57b109dc1ec20ae82a68225bdf1ef0c5ad 100644 (file)
@@ -1,20 +1,15 @@
 ## @file\r
 #  Intrinsic Routines Wrapper Library Instance.\r
 #\r
-#  Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>\r
-#  This program and the accompanying materials\r
-#  are licensed and made available under the terms and conditions of the BSD License\r
-#  which accompanies this distribution.  The full text of the license may be found at\r
-#  http://opensource.org/licenses/bsd-license.php\r
-#  \r
-#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-#  \r
+#  Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR>\r
+#  SPDX-License-Identifier: BSD-2-Clause-Patent\r
+#\r
 ##\r
 \r
 [Defines]\r
   INF_VERSION                    = 0x00010005\r
   BASE_NAME                      = BaseIntrinsicLib\r
+  MODULE_UNI_FILE                = BaseIntrinsicLib.uni\r
   FILE_GUID                      = 63850097-3E97-4c4f-A52D-C811A0106105\r
   MODULE_TYPE                    = BASE\r
   VERSION_STRING                 = 1.0\r
@@ -23,7 +18,7 @@
 #\r
 # The following information is for reference only and not required by the build tools.\r
 #\r
-#  VALID_ARCHITECTURES           = IA32 X64 IPF\r
+#  VALID_ARCHITECTURES           = IA32 X64\r
 #\r
 \r
 [Sources]\r
 [Sources.IA32]\r
   CopyMem.c\r
 \r
+  Ia32/MathLShiftS64.c      | MSFT\r
+  Ia32/MathRShiftU64.c      | MSFT\r
+  Ia32/MathFtol.c           | MSFT\r
+  Ia32/MathLlmul.asm        | MSFT\r
+  Ia32/MathLlshr.asm        | MSFT\r
+\r
+  Ia32/MathLShiftS64.c      | INTEL\r
+  Ia32/MathRShiftU64.c      | INTEL\r
+  Ia32/MathFtol.c           | INTEL\r
+\r
+  Ia32/MathLShiftS64.nasm   | GCC\r
+  Ia32/MathRShiftU64.nasm   | GCC\r
+\r
 [Sources.X64]\r
   CopyMem.c\r
 \r
-[Sources.IPF]\r
-  CopyMem.c | MSFT\r
-  CopyMem.c | INTEL\r
-#\r
-# In tools_def.txt, GCC rename symbol name memcpy to be CopyMem for IPF,\r
-# i.e. "DEFINE GCC_IPF_SYMRENAME_FLAGS     = --redefine-sym memcpy=CopyMem",\r
-# so there will be no source file CopyMem.c for GCC compiler family.\r
-#\r
-\r
 [Packages]\r
   MdePkg/MdePkg.dec\r
 \r
 [LibraryClasses]\r
+  BaseLib\r
   BaseMemoryLib\r
 \r
 [BuildOptions]\r
-  MSFT:*_*_*_CC_FLAGS  = /GL- /Oi-\r
-  INTEL:*_*_*_CC_FLAGS = /Oi-\r
-  GCC:*_*_*_CC_FLAGS   = -fno-builtin\r
+   #\r
+   # Override MSFT build option to remove /Oi and /GL\r
+   #\r
+   MSFT:DEBUG_VS2003_IA32_CC_FLAGS        == /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm\r
+   MSFT:RELEASE_VS2003_IA32_CC_FLAGS      == /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /GX-\r
+   MSFT:DEBUG_VS2003xASL_IA32_CC_FLAGS    == /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm\r
+   MSFT:RELEASE_VS2003xASL_IA32_CC_FLAGS  == /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /GX-\r
+   MSFT:DEBUG_DDK3790_IA32_CC_FLAGS       == /nologo /c /WX /Gy /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
+   MSFT:RELEASE_DDK3790_IA32_CC_FLAGS     == /nologo /c /WX /Gy /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF\r
+   MSFT:DEBUG_DDK3790xASL_IA32_CC_FLAGS   == /nologo /c /WX /Gy /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
+   MSFT:RELEASE_DDK3790xASL_IA32_CC_FLAGS == /nologo /c /WX /Gy /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF\r
+   MSFT:DEBUG_*_IA32_CC_FLAGS             == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm\r
+   MSFT:RELEASE_*_IA32_CC_FLAGS           == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF\r
+   MSFT:DEBUG_*_X64_CC_FLAGS              == /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1b2s /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
+   MSFT:RELEASE_*_X64_CC_FLAGS            == /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1b2s /Gy /FIAutoGen.h /EHs-c- /GR- /GF\r
+  INTEL:*_*_*_CC_FLAGS                    =  /Oi-\r