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>
This commit is contained in:
Ray Ni
2021-04-01 18:32:23 +08:00
committed by mergify[bot]
parent 19d5bccc76
commit 1a957f17bc
5 changed files with 480 additions and 1 deletions

View File

@ -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