]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Include/Library/CpuExceptionHandlerLib.h
MdeModulePkg/NetLib: Add NetLibDetectMediaWaitTimeout() API to support EFI_NOT_READY...
[mirror_edk2.git] / MdeModulePkg / Include / Library / CpuExceptionHandlerLib.h
index 16384f83168edcceecca6835110eeb25760f6e14..6cd823012749af0daea7aaf1db79c363fed993d9 100644 (file)
@@ -2,7 +2,7 @@
   CPU Exception library provides the default CPU interrupt/exception handler.\r
   It also provides capability to register user interrupt/exception handler.\r
 \r
-  Copyright (c) 2012 - 2013, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2012 - 2017, Intel Corporation. All rights reserved.<BR>\r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
   which accompanies this distribution.  The full text of the license may be found at\r
@@ -85,7 +85,7 @@ InitializeCpuInterruptHandlers (
                                 previously installed.\r
   @retval EFI_UNSUPPORTED       The interrupt specified by InterruptType is not supported,\r
                                 or this function is not supported.\r
-*/\r
+**/\r
 EFI_STATUS\r
 EFIAPI\r
 RegisterCpuInterruptHandler (\r
@@ -93,4 +93,17 @@ RegisterCpuInterruptHandler (
   IN EFI_CPU_INTERRUPT_HANDLER     InterruptHandler\r
   );\r
 \r
+/**\r
+  Display processor context.\r
+\r
+  @param[in] ExceptionType  Exception type.\r
+  @param[in] SystemContext  Processor context to be display.\r
+**/\r
+VOID\r
+EFIAPI\r
+DumpCpuContext (\r
+  IN EFI_EXCEPTION_TYPE   ExceptionType,\r
+  IN EFI_SYSTEM_CONTEXT   SystemContext\r
+  );\r
+  \r
 #endif\r