Oh, I can refactor the code in PeiDxeSmmCpuException.c and SecPeiCpuException.c with switch-case for VC/VE handling  together. It will be updated in the next version.

 

From: Ni, Ray <ray.ni@intel.com>
Sent: Tuesday, March 15, 2022 3:17 PM
To: Xu, Min M <min.m.xu@intel.com>; devel@edk2.groups.io
Subject: Re: [edk2-devel] [PATCH V7 06/37] UefiCpuPkg/CpuExceptionHandler: Add base support for the #VE exception #ve

 

Reviewed-by: Ray Ni ray.ni@intel.com

Min, any reason that you don't change to switch-case for VC/VE handling together?