summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Include
diff options
context:
space:
mode:
authorvanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2012-03-15 05:20:41 +0000
committervanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524>2012-03-15 05:20:41 +0000
commit1e172d6bbfeb75d3a5d9f0066eee97789fc617b7 (patch)
tree2c9b18b2dcee3c36b6c0a61a77124ce12adca80b /MdeModulePkg/Include
parentbf0f6c8321351303679d9bf020309c09c8c904eb (diff)
downloadedk2-platforms-1e172d6bbfeb75d3a5d9f0066eee97789fc617b7.tar.xz
1. Introduced CPU Exception Handler Library to provide the CPU exception handlers and add one NULL library instance.
2. Updated DXE Core, BootScriptExecutorDxe and CapsuleX64Pei to consume CPU Exception Library to setup the default CPU Exception handlers. Signed-off-by: vanjeff Reviewed-by: jyao1 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13097 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Include')
-rw-r--r--MdeModulePkg/Include/Library/CpuExceptionHandlerLib.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/MdeModulePkg/Include/Library/CpuExceptionHandlerLib.h b/MdeModulePkg/Include/Library/CpuExceptionHandlerLib.h
new file mode 100644
index 0000000000..6be32b2326
--- /dev/null
+++ b/MdeModulePkg/Include/Library/CpuExceptionHandlerLib.h
@@ -0,0 +1,28 @@
+/** @file
+ CPU Exception library provides the CPU exception handler.
+
+ Copyright (c) 2012, 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
+ http://opensource.org/licenses/bsd-license.php
+
+ THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+
+**/
+
+#ifndef __CPU_EXCEPTION_LIB_H__
+#define __CPU_EXCEPTION_LIB_H__
+
+/**
+ Setup CPU exception handlers.
+
+**/
+VOID
+EFIAPI
+SetupCpuExceptionHandlers (
+ VOID
+ );
+
+#endif