|
1 | | -## @file DMASmmuProtectionUnitTestApp.inf |
2 | | -## |
3 | | -# DMA Protection Unit Test App for ARM SMMUv3 platforms. |
4 | | -# Tests SMMU translation enable status and RMR reserved memory regions. |
5 | | -# |
6 | | -# Copyright (c) Microsoft Corporation. All rights reserved. |
7 | | -# SPDX-License-Identifier: BSD-2-Clause-Patent |
8 | | -# |
9 | | -## |
10 | | - |
11 | | - |
12 | | -[Defines] |
13 | | - INF_VERSION = 0x00010006 |
14 | | - BASE_NAME = DMASmmuProtectionUnitTestApp |
15 | | - FILE_GUID = 7A8C2E45-B9F3-4D12-A6E8-9C1B5F3D2E7A |
16 | | - MODULE_TYPE = UEFI_APPLICATION |
17 | | - VERSION_STRING = 1.0 |
18 | | - ENTRY_POINT = DMAProtectionUnitTestApp |
19 | | - |
20 | | -# |
21 | | -# The following information is for reference only and not required by the build tools. |
22 | | -# |
23 | | -# VALID_ARCHITECTURES = AARCH64 |
24 | | -# |
25 | | - |
26 | | -[Sources] |
27 | | - Acpi.c |
28 | | - Acpi.h |
29 | | - DMAProtectionTest.h |
30 | | - DMAProtectionUnitTestApp.c |
31 | | - SMMU/DmaProtection.h |
32 | | - SMMU/DMAProtectionTestArch.c |
33 | | - SMMU/IortAcpiTable.c |
34 | | - |
35 | | -[Packages] |
36 | | - MdePkg/MdePkg.dec |
37 | | - MdeModulePkg/MdeModulePkg.dec |
38 | | - UefiTestingPkg/UefiTestingPkg.dec |
39 | | - UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec |
40 | | - ShellPkg/ShellPkg.dec |
41 | | - |
42 | | -[Protocols] |
43 | | - gEfiPciIoProtocolGuid ## CONSUMES |
44 | | - |
45 | | -[LibraryClasses] |
46 | | - UefiApplicationEntryPoint |
47 | | - DebugLib |
48 | | - UnitTestLib |
49 | | - UnitTestBootLib |
50 | | - UnitTestPersistenceLib |
51 | | - IoLib |
52 | | - MemoryAllocationLib |
53 | | - ShellLib |
54 | | - PciLib |
55 | | - |
56 | | -[Guids] |
57 | | - gDMAUnitTestVariableGuid |
58 | | - gEfiAcpi20TableGuid |
59 | | - gEfiAcpi10TableGuid |
| 1 | +## @file DMASmmuProtectionUnitTestApp.inf |
| 2 | +## |
| 3 | +# DMA Protection Unit Test App for ARM SMMUv3 platforms. |
| 4 | +# Tests SMMU translation enable status and RMR reserved memory regions. |
| 5 | +# |
| 6 | +# Copyright (c) Microsoft Corporation. All rights reserved. |
| 7 | +# SPDX-License-Identifier: BSD-2-Clause-Patent |
| 8 | +# |
| 9 | +## |
| 10 | +
|
| 11 | +
|
| 12 | +[Defines] |
| 13 | + INF_VERSION = 0x00010006 |
| 14 | + BASE_NAME = DMASmmuProtectionUnitTestApp |
| 15 | + FILE_GUID = 7A8C2E45-B9F3-4D12-A6E8-9C1B5F3D2E7A |
| 16 | + MODULE_TYPE = UEFI_APPLICATION |
| 17 | + VERSION_STRING = 1.0 |
| 18 | + ENTRY_POINT = DMAProtectionUnitTestApp |
| 19 | +
|
| 20 | +# |
| 21 | +# The following information is for reference only and not required by the build tools. |
| 22 | +# |
| 23 | +# VALID_ARCHITECTURES = AARCH64 |
| 24 | +# |
| 25 | +
|
| 26 | +[Sources] |
| 27 | + Acpi.c |
| 28 | + Acpi.h |
| 29 | + DMAProtectionTest.h |
| 30 | + DMAProtectionUnitTestApp.c |
| 31 | + SMMU/DmaProtection.h |
| 32 | + SMMU/DMAProtectionTestArch.c |
| 33 | + SMMU/IortAcpiTable.c |
| 34 | +
|
| 35 | +[Packages] |
| 36 | + MdePkg/MdePkg.dec |
| 37 | + MdeModulePkg/MdeModulePkg.dec |
| 38 | + UefiTestingPkg/UefiTestingPkg.dec |
| 39 | + UnitTestFrameworkPkg/UnitTestFrameworkPkg.dec |
| 40 | + ShellPkg/ShellPkg.dec |
| 41 | +
|
| 42 | +[Protocols] |
| 43 | + gEfiPciIoProtocolGuid ## CONSUMES |
| 44 | +
|
| 45 | +[LibraryClasses] |
| 46 | + UefiApplicationEntryPoint |
| 47 | + DebugLib |
| 48 | + UnitTestLib |
| 49 | + UnitTestBootLib |
| 50 | + UnitTestPersistenceLib |
| 51 | + IoLib |
| 52 | + MemoryAllocationLib |
| 53 | + ShellLib |
| 54 | + PciLib |
| 55 | +
|
| 56 | +[Guids] |
| 57 | + gDMAUnitTestVariableGuid |
| 58 | + gEfiAcpi20TableGuid |
| 59 | + gEfiAcpi10TableGuid |
0 commit comments