ArmVirtPkg/PrePi: use correct callee saved regs
[mirror_edk2.git] / CryptoPkg / Library / IntrinsicLib / IntrinsicLib.inf
CommitLineData
97f98500
HT
1## @file\r
2# Intrinsic Routines Wrapper Library Instance.\r
3#\r
dda856b3 4# Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>\r
97f98500
HT
5# This program and the accompanying materials\r
6# are licensed and made available under the terms and conditions of the BSD License\r
7# which accompanies this distribution. The full text of the license may be found at\r
8# http://opensource.org/licenses/bsd-license.php\r
2ac68e8b 9#\r
97f98500
HT
10# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
2ac68e8b 12#\r
97f98500
HT
13##\r
14\r
15[Defines]\r
16 INF_VERSION = 0x00010005\r
17 BASE_NAME = BaseIntrinsicLib\r
dda856b3 18 MODULE_UNI_FILE = BaseIntrinsicLib.uni\r
97f98500
HT
19 FILE_GUID = 63850097-3E97-4c4f-A52D-C811A0106105\r
20 MODULE_TYPE = BASE\r
21 VERSION_STRING = 1.0\r
22 LIBRARY_CLASS = IntrinsicLib\r
23\r
24#\r
25# The following information is for reference only and not required by the build tools.\r
26#\r
27# VALID_ARCHITECTURES = IA32 X64 IPF\r
28#\r
29\r
30[Sources]\r
31 MemoryIntrinsics.c\r
32\r
33[Sources.IA32]\r
34 CopyMem.c\r
35\r
2ac68e8b
QL
36 Ia32/MathLShiftS64.c | MSFT\r
37 Ia32/MathRShiftU64.c | MSFT\r
38\r
39 Ia32/MathLShiftS64.c | INTEL\r
40 Ia32/MathRShiftU64.c | INTEL\r
41\r
42 Ia32/MathLShiftS64.S | GCC\r
43 Ia32/MathRShiftU64.S | GCC\r
44\r
97f98500
HT
45[Sources.X64]\r
46 CopyMem.c\r
47\r
48[Sources.IPF]\r
49 CopyMem.c | MSFT\r
50 CopyMem.c | INTEL\r
51#\r
52# In tools_def.txt, GCC rename symbol name memcpy to be CopyMem for IPF,\r
53# i.e. "DEFINE GCC_IPF_SYMRENAME_FLAGS = --redefine-sym memcpy=CopyMem",\r
54# so there will be no source file CopyMem.c for GCC compiler family.\r
55#\r
56\r
57[Packages]\r
58 MdePkg/MdePkg.dec\r
59\r
60[LibraryClasses]\r
61 BaseMemoryLib\r
62\r
63[BuildOptions]\r
f754e613 64 #\r
65 # Override MSFT build option to remove /Oi and /GL\r
66 #\r
67 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
68 MSFT:RELEASE_VS2003_IA32_CC_FLAGS == /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /GX-\r
69 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
70 MSFT:RELEASE_VS2003xASL_IA32_CC_FLAGS == /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /GX-\r
71 MSFT:DEBUG_DDK3790_IA32_CC_FLAGS == /nologo /c /WX /Gy /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
d490265c 72 MSFT:RELEASE_DDK3790_IA32_CC_FLAGS == /nologo /c /WX /Gy /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF\r
f754e613 73 MSFT:DEBUG_DDK3790xASL_IA32_CC_FLAGS == /nologo /c /WX /Gy /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm\r
d490265c 74 MSFT:RELEASE_DDK3790xASL_IA32_CC_FLAGS == /nologo /c /WX /Gy /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF\r
f754e613 75 MSFT:DEBUG_*_IA32_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm\r
76 MSFT:RELEASE_*_IA32_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF\r
77 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
78 MSFT:RELEASE_*_X64_CC_FLAGS == /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1b2s /Gy /FIAutoGen.h /EHs-c- /GR- /GF\r
79 MSFT:DEBUG_*_IPF_CC_FLAGS == /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /FIAutoGen.h /QIPF_fr32 /Zi\r
80 MSFT:RELEASE_*_IPF_CC_FLAGS == /nologo /c /WX /GS- /X /W4 /EHs-c- /GR- /Gy /Os /FIAutoGen.h /QIPF_fr32\r
81 INTEL:*_*_*_CC_FLAGS = /Oi-\r
2ac68e8b 82 GCC:*_*_*_CC_FLAGS = -fno-builtin