]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg RegisterCpuFeaturesLib: Add error handling.
authorEric Dong <eric.dong@intel.com>
Fri, 14 Jul 2017 02:23:48 +0000 (10:23 +0800)
committerEric Dong <eric.dong@intel.com>
Thu, 20 Jul 2017 06:11:14 +0000 (14:11 +0800)
commit852b3935c9f21746d91d06f9f195e5969a302925
tree7e41a0f0b2f66550875af3490908438b34971359
parent5fc3889bb3c64f8cd81d7d387f829f146a1998fd
UefiCpuPkg RegisterCpuFeaturesLib: Add error handling.

Disable CPU feature may return error, add error handling
code to handle it instead of assert it.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Reviewed-by: Jeff Fan <jeff.fan@intel.com>
UefiCpuPkg/Library/RegisterCpuFeaturesLib/CpuFeaturesInitialize.c