UefiCpuPkg/ExceptionLib: Update InitializeCpuExceptionHandlersWorker
Add parameter CpuExceptionData for InitializeCpuExceptionHandlersWorker(). Cc: Michael Kinney <michael.d.kinney@intel.com> Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Feng Tian <feng.tian@intel.com> Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan <jeff.fan@intel.com> Reviewed-by: Feng Tian <feng.tian@intel.com>
This commit is contained in:
@@ -21,6 +21,8 @@ CONST UINTN mDoFarReturnFlag = 0;
|
||||
|
||||
extern SPIN_LOCK mDisplayMessageSpinLock;
|
||||
extern EFI_CPU_INTERRUPT_HANDLER *mExternalInterruptHandler;
|
||||
extern RESERVED_VECTORS_DATA mReservedVectorsData[CPU_EXCEPTION_NUM];
|
||||
extern EFI_CPU_INTERRUPT_HANDLER mExternalInterruptHandlerTable[CPU_EXCEPTION_NUM];
|
||||
EXCEPTION_HANDLER_DATA mExceptionHandlerData;
|
||||
|
||||
/**
|
||||
@@ -45,7 +47,10 @@ InitializeCpuExceptionHandlers (
|
||||
IN EFI_VECTOR_HANDOFF_INFO *VectorInfo OPTIONAL
|
||||
)
|
||||
{
|
||||
return InitializeCpuExceptionHandlersWorker (VectorInfo);
|
||||
mExceptionHandlerData.ReservedVectors = mReservedVectorsData;
|
||||
mExceptionHandlerData.ExternalInterruptHandler = mExternalInterruptHandlerTable;
|
||||
InitializeSpinLock (&mExceptionHandlerData.DisplayMessageSpinLock);
|
||||
return InitializeCpuExceptionHandlersWorker (VectorInfo, &mExceptionHandlerData);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user