VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/CryptoPkg/Library/IntrinsicLib/IntrinsicLib.inf@ 107020

Last change on this file since 107020 was 107020, checked in by vboxsync, 2 months ago

EFI/Firmware: Made it build with VCC143 (ak a VS2022). Updated the vbox-tools_def.txt a little (upstream has VS2022, but using VS2019 in the mean time). jiraref:VBP-1439

  • Property svn:eol-style set to native
File size: 3.2 KB
Line 
1## @file
2# Intrinsic Routines Wrapper Library Instance.
3#
4# Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.<BR>
5# SPDX-License-Identifier: BSD-2-Clause-Patent
6#
7##
8
9[Defines]
10 INF_VERSION = 0x00010005
11 BASE_NAME = BaseIntrinsicLib
12 MODULE_UNI_FILE = BaseIntrinsicLib.uni
13 FILE_GUID = 63850097-3E97-4c4f-A52D-C811A0106105
14 MODULE_TYPE = BASE
15 VERSION_STRING = 1.0
16 LIBRARY_CLASS = IntrinsicLib
17
18#
19# The following information is for reference only and not required by the build tools.
20#
21# VALID_ARCHITECTURES = IA32 X64
22#
23
24[Sources]
25 MemoryIntrinsics.c
26
27[Sources.IA32]
28 CopyMem.c
29
30 Ia32/MathLShiftS64.c | MSFT
31 Ia32/MathRShiftU64.c | MSFT
32 # 2024-11-16 bird: Replaced MathFtol.c with ftol2-vcc.asm for VS2022:
33 Ia32/ftol2-vcc.nasm | MSFT
34 # Ia32/MathFtol.c | MSFT
35 Ia32/MathLlmul.asm | MSFT
36 Ia32/MathLlshr.asm | MSFT
37 Ia32/MathUlldiv.asm | MSFT
38 Ia32/MathUlldvrm.asm | MSFT
39 Ia32/MathLldiv.asm | MSFT
40 Ia32/MathUllrem.asm | MSFT
41
42 Ia32/MathLShiftS64.c | INTEL
43 Ia32/MathRShiftU64.c | INTEL
44 Ia32/MathFtol.c | INTEL
45
46 Ia32/MathLShiftS64.nasm | GCC
47 Ia32/MathRShiftU64.nasm | GCC
48 Ia32/MathDivModU64x64.c | GCC
49 Ia32/MathDivS64x64.c | GCC
50 Ia32/MathDivU64x64.c | GCC
51 Ia32/MathModU64x64.c | GCC
52[Sources.X64]
53 CopyMem.c
54[Sources.RISCV64]
55 CopyMem.c
56
57[Packages]
58 MdePkg/MdePkg.dec
59
60[LibraryClasses]
61 BaseLib
62 BaseMemoryLib
63
64[BuildOptions]
65 #
66 # Override MSFT build option to remove /Oi and /GL
67 #
68 MSFT:DEBUG_VS2003_IA32_CC_FLAGS == /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm
69 MSFT:RELEASE_VS2003_IA32_CC_FLAGS == /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /GX-
70 MSFT:DEBUG_VS2003xASL_IA32_CC_FLAGS == /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /GX- /Zi /Gm
71 MSFT:RELEASE_VS2003xASL_IA32_CC_FLAGS == /nologo /c /WX /W4 /Gs32768 /Gy /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /GX-
72 MSFT:DEBUG_DDK3790_IA32_CC_FLAGS == /nologo /c /WX /Gy /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
73 MSFT:RELEASE_DDK3790_IA32_CC_FLAGS == /nologo /c /WX /Gy /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF
74 MSFT:DEBUG_DDK3790xASL_IA32_CC_FLAGS == /nologo /c /WX /Gy /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
75 MSFT:RELEASE_DDK3790xASL_IA32_CC_FLAGS == /nologo /c /WX /Gy /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF
76 MSFT:DEBUG_*_IA32_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm
77 MSFT:RELEASE_*_IA32_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF
78 MSFT:DEBUG_*_X64_CC_FLAGS == /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1b2s /Gy /FIAutoGen.h /EHs-c- /GR- /GF /Zi /Gm
79 MSFT:RELEASE_*_X64_CC_FLAGS == /nologo /c /WX /GS- /X /W4 /Gs32768 /D UNICODE /O1b2s /Gy /FIAutoGen.h /EHs-c- /GR- /GF
80 INTEL:*_*_*_CC_FLAGS = /Oi-
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette