mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-28 16:14:04 +02:00
UefiCpuPkg/ExceptionLib: Add EXCEPTION_HANDLER_DATA definition
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:
parent
9b4aa7602e
commit
2c5873fede
@ -1,7 +1,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
Common header file for CPU Exception Handler Library.
|
Common header file for CPU Exception Handler Library.
|
||||||
|
|
||||||
Copyright (c) 2012 - 2015, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
@ -40,6 +40,13 @@ typedef struct {
|
|||||||
UINTN HookAfterStubHeaderStart;
|
UINTN HookAfterStubHeaderStart;
|
||||||
} EXCEPTION_HANDLER_TEMPLATE_MAP;
|
} EXCEPTION_HANDLER_TEMPLATE_MAP;
|
||||||
|
|
||||||
|
typedef struct {
|
||||||
|
UINTN IdtEntryCount;
|
||||||
|
SPIN_LOCK DisplayMessageSpinLock;
|
||||||
|
RESERVED_VECTORS_DATA *ReservedVectors;
|
||||||
|
EFI_CPU_INTERRUPT_HANDLER *ExternalInterruptHandler;
|
||||||
|
} EXCEPTION_HANDLER_DATA;
|
||||||
|
|
||||||
extern CONST UINT32 mErrorCodeFlag;
|
extern CONST UINT32 mErrorCodeFlag;
|
||||||
extern CONST UINTN mImageAlignSize;
|
extern CONST UINTN mImageAlignSize;
|
||||||
extern CONST UINTN mDoFarReturnFlag;
|
extern CONST UINTN mDoFarReturnFlag;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
CPU exception handler library implemenation for DXE modules.
|
CPU exception handler library implemenation for DXE modules.
|
||||||
|
|
||||||
Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
@ -21,6 +21,7 @@ CONST UINTN mDoFarReturnFlag = 0;
|
|||||||
|
|
||||||
extern SPIN_LOCK mDisplayMessageSpinLock;
|
extern SPIN_LOCK mDisplayMessageSpinLock;
|
||||||
extern EFI_CPU_INTERRUPT_HANDLER *mExternalInterruptHandler;
|
extern EFI_CPU_INTERRUPT_HANDLER *mExternalInterruptHandler;
|
||||||
|
EXCEPTION_HANDLER_DATA mExceptionHandlerData;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Initializes all CPU exceptions entries and provides the default exception handlers.
|
Initializes all CPU exceptions entries and provides the default exception handlers.
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
/** @file
|
/** @file
|
||||||
CPU exception handler library implemenation for SMM modules.
|
CPU exception handler library implemenation for SMM modules.
|
||||||
|
|
||||||
Copyright (c) 2013, Intel Corporation. All rights reserved.<BR>
|
Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved.<BR>
|
||||||
This program and the accompanying materials
|
This program and the accompanying materials
|
||||||
are licensed and made available under the terms and conditions of the BSD License
|
are licensed and made available under the terms and conditions of the BSD License
|
||||||
which accompanies this distribution. The full text of the license may be found at
|
which accompanies this distribution. The full text of the license may be found at
|
||||||
@ -17,6 +17,7 @@
|
|||||||
|
|
||||||
CONST UINTN mDoFarReturnFlag = 1;
|
CONST UINTN mDoFarReturnFlag = 1;
|
||||||
|
|
||||||
|
EXCEPTION_HANDLER_DATA mExceptionHandlerData;
|
||||||
/**
|
/**
|
||||||
Initializes all CPU exceptions entries and provides the default exception handlers.
|
Initializes all CPU exceptions entries and provides the default exception handlers.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user