]> git.proxmox.com Git - mirror_edk2.git/commit - UefiCpuPkg/Library/MpInitLib/MpLib.h
UefiCpuPkg/MpInitLib: Use BSP uCode for APs if possible.
authorEric Dong <eric.dong@intel.com>
Wed, 11 Jul 2018 11:07:28 +0000 (19:07 +0800)
committerEric Dong <eric.dong@intel.com>
Wed, 18 Jul 2018 04:43:30 +0000 (12:43 +0800)
commit2a08913443bb3fff0056cc555e260b2c3fdd2120
tree1d18d7619c45badada50d409aab5f251f5504155
parent6936ee0342d25bea9f44499444ba1e4df6fc2200
UefiCpuPkg/MpInitLib: Use BSP uCode for APs if possible.

Search uCode costs much time, if AP has same processor type
with BSP, AP can use BSP saved uCode info to get better performance.

This change enables this solution.

Cc: Laszlo Ersek <lersek@redhat.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Eric Dong <eric.dong@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
Regression-tested-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
UefiCpuPkg/Library/MpInitLib/Microcode.c
UefiCpuPkg/Library/MpInitLib/MpLib.c
UefiCpuPkg/Library/MpInitLib/MpLib.h