diff options
author | Jeff Fan <jeff.fan@intel.com> | 2013-11-22 06:24:41 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2013-11-22 06:24:41 +0000 |
commit | e41aad152135f27ae1da142454af85a6597719ee (patch) | |
tree | 07138e5c40f53ca941863f27f8ad409019556077 /UefiCpuPkg/CpuDxe/CpuDxe.h | |
parent | 57f360f2615818366b39ff21fcd0201154be4ab2 (diff) | |
download | edk2-platforms-e41aad152135f27ae1da142454af85a6597719ee.tar.xz |
1. Separated DxeSmmCpuExceptionHandlerLib.inf into 2 instance DxeCpuExceptionHandlerLib.inf and SmmCpuExceptionHandlerLib.inf.
2. Updated CPU Exception Handler Library instance according to the new CPU Exception Handler Library class definitions.
3. Updated CPU Exception Handler Library instance to handle the vector attributes defined in PI 1.2.1.
Signed-off-by: Jeff Fan <jeff.fan@intel.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Reviewed-by: Feng Tian <feng.tian@intel.com>
Reviewed-by: Hot Tian <hot.tian@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14885 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'UefiCpuPkg/CpuDxe/CpuDxe.h')
-rw-r--r-- | UefiCpuPkg/CpuDxe/CpuDxe.h | 45 |
1 files changed, 4 insertions, 41 deletions
diff --git a/UefiCpuPkg/CpuDxe/CpuDxe.h b/UefiCpuPkg/CpuDxe/CpuDxe.h index a75ec0593f..2001cfc605 100644 --- a/UefiCpuPkg/CpuDxe/CpuDxe.h +++ b/UefiCpuPkg/CpuDxe/CpuDxe.h @@ -1,7 +1,7 @@ /** @file
CPU DXE Module.
- Copyright (c) 2008 - 2012, Intel Corporation. All rights reserved.<BR>
+ Copyright (c) 2008 - 2013, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials
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
@@ -30,12 +30,10 @@ #include <Library/MtrrLib.h>
#include <Library/LocalApicLib.h>
#include <Library/UefiCpuLib.h>
+#include <Library/UefiLib.h>
+#include <Library/CpuExceptionHandlerLib.h>
#include <Guid/IdleLoopEvent.h>
-
-//
-//
-//
-#define INTERRUPT_VECTOR_NUMBER 256
+#include <Guid/VectorHandoffTable.h>
#define EFI_MEMORY_CACHETYPE_MASK (EFI_MEMORY_UC | \
EFI_MEMORY_WC | \
@@ -221,30 +219,6 @@ CpuSetMemoryAttributes ( );
/**
- Label of base address of IDT vector 0.
-
- This is just a label of base address of IDT vector 0.
-
-**/
-VOID
-EFIAPI
-AsmIdtVector00 (
- VOID
- );
-
-/**
- Initializes the pointer to the external interrupt vector table.
-
- @param VectorTable Address of the external interrupt vector table.
-
-**/
-VOID
-EFIAPI
-InitializeExternalVectorTablePtr (
- EFI_CPU_INTERRUPT_HANDLER *VectorTable
- );
-
-/**
Initialize Global Descriptor Table.
**/
@@ -277,16 +251,5 @@ SetDataSelectors ( UINT16 Selector
);
-/**
- Restore original Interrupt Descriptor Table Handler Address.
-
- @param Index The Index of the interrupt descriptor table handle.
-
-**/
-VOID
-RestoreInterruptDescriptorTableHandlerAddress (
- IN UINTN Index
- );
-
#endif
|