1 | ## @file
|
---|
2 | # Instance of Cache Maintenance Library using Base Library services.
|
---|
3 | #
|
---|
4 | # Cache Maintenance Library that uses Base Library services to maintain caches.
|
---|
5 | # This library assumes there are no chipset dependencies required to maintain caches.
|
---|
6 | #
|
---|
7 | # Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
|
---|
8 | # Portions copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
|
---|
9 | # Copyright (c) 2020, Hewlett Packard Enterprise Development LP. All rights reserved.<BR>
|
---|
10 | # Copyright (c) 2022, Loongson Technology Corporation Limited. All rights reserved.<BR>
|
---|
11 | #
|
---|
12 | # SPDX-License-Identifier: BSD-2-Clause-Patent
|
---|
13 | #
|
---|
14 | #
|
---|
15 | ##
|
---|
16 |
|
---|
17 | [Defines]
|
---|
18 | INF_VERSION = 0x00010005
|
---|
19 | BASE_NAME = BaseCacheMaintenanceLib
|
---|
20 | MODULE_UNI_FILE = BaseCacheMaintenanceLib.uni
|
---|
21 | FILE_GUID = 123dd843-57c9-4158-8418-ce68b3944ce7
|
---|
22 | MODULE_TYPE = BASE
|
---|
23 | VERSION_STRING = 1.1
|
---|
24 | LIBRARY_CLASS = CacheMaintenanceLib
|
---|
25 |
|
---|
26 |
|
---|
27 | #
|
---|
28 | # VALID_ARCHITECTURES = IA32 X64 EBC ARM AARCH64 RISCV64 LOONGARCH64
|
---|
29 | #
|
---|
30 |
|
---|
31 | [Sources.IA32]
|
---|
32 | X86Cache.c
|
---|
33 |
|
---|
34 | [Sources.X64]
|
---|
35 | X86Cache.c
|
---|
36 |
|
---|
37 | [Sources.EBC]
|
---|
38 | EbcCache.c
|
---|
39 |
|
---|
40 | [Sources.ARM]
|
---|
41 | ArmCache.c
|
---|
42 |
|
---|
43 | [Sources.AARCH64]
|
---|
44 | ArmCache.c
|
---|
45 |
|
---|
46 | [Sources.RISCV64]
|
---|
47 | RiscVCache.c
|
---|
48 |
|
---|
49 | [Sources.LOONGARCH64]
|
---|
50 | LoongArchCache.c
|
---|
51 |
|
---|
52 | [Packages]
|
---|
53 | MdePkg/MdePkg.dec
|
---|
54 |
|
---|
55 | [LibraryClasses]
|
---|
56 | BaseLib
|
---|
57 | DebugLib
|
---|
58 |
|
---|
59 | [LibraryClasses.RISCV64]
|
---|
60 | PcdLib
|
---|
61 |
|
---|
62 | [Pcd.RISCV64]
|
---|
63 | gEfiMdePkgTokenSpaceGuid.PcdRiscVFeatureOverride ## CONSUMES
|
---|