From a42818739fa5c46789a972f42907f4a1afb1698c Mon Sep 17 00:00:00 2001 From: Jeff Fan Date: Tue, 24 May 2016 21:09:22 +0800 Subject: UefiCpuPkg/ExceptionLib: Update UpdateIdtTable() Add parameter CpuExceptionData for UpdateIdtTable(). Cc: Michael Kinney Cc: Jiewen Yao Cc: Feng Tian Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jeff Fan Reviewed-by: Feng Tian (cherry picked from commit 9db15f8148081688a0679b76a7258e9fc66107bc) --- UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h') diff --git a/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h b/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h index 812469babe..99be61f860 100644 --- a/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h +++ b/UefiCpuPkg/Library/CpuExceptionHandlerLib/CpuExceptionCommon.h @@ -174,16 +174,17 @@ RegisterCpuInterruptHandlerWorker ( /** Internal worker function to update IDT entries accordling to vector attributes. - @param[in] IdtTable Pointer to IDT table. - @param[in] TemplateMap Pointer to a buffer where the address map is returned. - @param[in] IdtEntryCount IDT entries number to be updated. + @param[in] IdtTable Pointer to IDT table. + @param[in] TemplateMap Pointer to a buffer where the address map is + returned. + @param[in] ExceptionHandlerData Pointer to exception handler data. **/ VOID UpdateIdtTable ( IN IA32_IDT_GATE_DESCRIPTOR *IdtTable, IN EXCEPTION_HANDLER_TEMPLATE_MAP *TemplateMap, - IN UINTN IdtEntryCount + IN EXCEPTION_HANDLER_DATA *ExceptionHandlerData ); /** -- cgit v1.2.3