[edk2-devel] [PATCH V2 12/28] UefiCpuPkg/CpuExceptionHandler: Add base support for the #VE exception

Min Xu min.m.xu at intel.com
Tue Oct 26 05:06:21 UTC 2021


On October 12, 2021 6:27 PM, Gerd Hoffmann wrote:
> > +  if (ExceptionType == VE_EXCEPTION) {
> > +    EFI_STATUS  Status;
> > +    //
> > +    // #VE needs to be handled immediately upon enabling exception handling
> > +    // and therefore can't use the RegisterCpuInterruptHandler() interface.
> 
> Can please you explain in more detail why this is the case?
> 
VE Exception may happen before a component registers exception. So it has to be implemented inside the exception lib.

Thanks.
Min


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#82666): https://edk2.groups.io/g/devel/message/82666
Mute This Topic: https://groups.io/mt/86085742/1813853
Mute #ve:https://edk2.groups.io/g/devel/mutehashtag/ve
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-






More information about the edk2-devel-archive mailing list