diff options
author | Ray Ni <ray.ni@intel.com> | 2021-04-01 18:32:23 +0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2021-04-09 01:43:18 +0000 |
commit | 1a957f17bc62771df7517135c0e50052fc924ade (patch) | |
tree | 4e776c1090843cd127a34b5040e91b8b6e1e2a7d /UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf | |
parent | 19d5bccc7663399c0726aac800ddd4591be0176a (diff) | |
download | edk2-1a957f17bc62771df7517135c0e50052fc924ade.tar.gz edk2-1a957f17bc62771df7517135c0e50052fc924ade.tar.bz2 edk2-1a957f17bc62771df7517135c0e50052fc924ade.zip |
UefiCpuPkg: Add MicrocodeLib for loading microcode
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3303
Signed-off-by: Ray Ni <ray.ni@intel.com>
Reviewed-by: Eric Dong <eric.dong@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Cc: Rahul Kumar <rahul1.kumar@intel.com>
Diffstat (limited to 'UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf')
-rw-r--r-- | UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf b/UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf new file mode 100644 index 0000000000..c6f8f52e95 --- /dev/null +++ b/UefiCpuPkg/Library/MicrocodeLib/MicrocodeLib.inf @@ -0,0 +1,32 @@ +## @file
+# Library for microcode verification and load.
+#
+# Copyright (c) 2021, Intel Corporation. All rights reserved.<BR>
+#
+# SPDX-License-Identifier: BSD-2-Clause-Patent
+#
+#
+##
+
+[Defines]
+ INF_VERSION = 0x00010006
+ BASE_NAME = MicrocodeLib
+ FILE_GUID = EB8C72BC-8A48-4F80-996B-E52F68416D57
+ MODULE_TYPE = BASE
+ VERSION_STRING = 1.0
+ LIBRARY_CLASS = MicrocodeLib
+
+#
+# VALID_ARCHITECTURES = IA32 X64 EBC
+#
+
+[Sources.common]
+ MicrocodeLib.c
+
+[Packages]
+ MdePkg/MdePkg.dec
+ UefiCpuPkg/UefiCpuPkg.dec
+
+[LibraryClasses]
+ BaseLib
+ DebugLib
|