| 1 | ## @file |
| 2 | # edk2 platform description for the test helper UEFI applications that run in |
| 3 | # guests. |
| 4 | # |
| 5 | # Copyright (C) 2019, Red Hat, Inc. |
| 6 | # |
| 7 | # This program and the accompanying materials are licensed and made available |
| 8 | # under the terms and conditions of the BSD License that accompanies this |
| 9 | # distribution. The full text of the license may be found at |
| 10 | # <http://opensource.org/licenses/bsd-license.php>. |
| 11 | # |
| 12 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT |
| 13 | # WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. |
| 14 | ## |
| 15 | |
| 16 | [Defines] |
| 17 | DSC_SPECIFICATION = 1.28 |
| 18 | PLATFORM_GUID = 6750ccc1-8365-49f0-8437-948e516a9f55 |
| 19 | PLATFORM_VERSION = 0.1 |
| 20 | PLATFORM_NAME = UefiTestTools |
| 21 | SKUID_IDENTIFIER = DEFAULT |
| 22 | SUPPORTED_ARCHITECTURES = ARM|AARCH64|IA32|X64|RISCV64|LOONGARCH64 |
| 23 | BUILD_TARGETS = DEBUG |
| 24 | |
| 25 | [BuildOptions.IA32] |
| 26 | GCC:*_*_IA32_CC_FLAGS = -mno-mmx -mno-sse |
| 27 | |
| 28 | [BuildOptions.X64] |
| 29 | GCC:*_*_X64_CC_FLAGS = -mno-mmx -mno-sse |
| 30 | |
| 31 | [BuildOptions.ARM.EDKII.UEFI_APPLICATION] |
| 32 | GCC:*_*_ARM_DLINK_FLAGS = -z common-page-size=0x1000 |
| 33 | |
| 34 | [BuildOptions.AARCH64.EDKII.UEFI_APPLICATION] |
| 35 | GCC:*_*_AARCH64_DLINK_FLAGS = -z common-page-size=0x1000 |
| 36 | |
| 37 | [BuildOptions] |
| 38 | GCC:*_*_*_CC_FLAGS = -D DISABLE_NEW_DEPRECATED_INTERFACES |
| 39 | |
| 40 | [SkuIds] |
| 41 | 0|DEFAULT |
| 42 | |
| 43 | [LibraryClasses] |
| 44 | BaseLib|MdePkg/Library/BaseLib/BaseLib.inf |
| 45 | DebugLib|MdePkg/Library/UefiDebugLibConOut/UefiDebugLibConOut.inf |
| 46 | DebugPrintErrorLevelLib|MdePkg/Library/BaseDebugPrintErrorLevelLib/BaseDebugPrintErrorLevelLib.inf |
| 47 | DevicePathLib|MdePkg/Library/UefiDevicePathLibDevicePathProtocol/UefiDevicePathLibDevicePathProtocol.inf |
| 48 | MemoryAllocationLib|MdePkg/Library/UefiMemoryAllocationLib/UefiMemoryAllocationLib.inf |
| 49 | PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf |
| 50 | PrintLib|MdePkg/Library/BasePrintLib/BasePrintLib.inf |
| 51 | UefiApplicationEntryPoint|MdePkg/Library/UefiApplicationEntryPoint/UefiApplicationEntryPoint.inf |
| 52 | UefiBootServicesTableLib|MdePkg/Library/UefiBootServicesTableLib/UefiBootServicesTableLib.inf |
| 53 | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf |
| 54 | UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf |
| 55 | |
| 56 | [LibraryClasses.ARM, LibraryClasses.AARCH64] |
| 57 | BaseMemoryLib|MdePkg/Library/BaseMemoryLibOptDxe/BaseMemoryLibOptDxe.inf |
| 58 | NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf |
| 59 | NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf |
| 60 | |
| 61 | [LibraryClasses.IA32, LibraryClasses.X64] |
| 62 | BaseMemoryLib|MdePkg/Library/BaseMemoryLibRepStr/BaseMemoryLibRepStr.inf |
| 63 | RegisterFilterLib|MdePkg/Library/RegisterFilterLibNull/RegisterFilterLibNull.inf |
| 64 | |
| 65 | [LibraryClasses.RISCV64] |
| 66 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf |
| 67 | |
| 68 | [LibraryClasses.LOONGARCH64] |
| 69 | BaseMemoryLib|MdePkg/Library/BaseMemoryLib/BaseMemoryLib.inf |
| 70 | StackCheckLib|MdePkg/Library/StackCheckLibNull/StackCheckLibNull.inf |
| 71 | |
| 72 | [PcdsFixedAtBuild] |
| 73 | gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8040004F |
| 74 | gEfiMdePkgTokenSpaceGuid.PcdDebugPropertyMask|0x2F |
| 75 | |
| 76 | [Components] |
| 77 | UefiTestToolsPkg/BiosTablesTest/BiosTablesTest.inf |