]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Library/CpuExceptionHandlerLibNull/CpuExceptionHandlerLibNull.c
CpuException: Remove InitializeCpuInterruptHandlers
[mirror_edk2.git] / MdeModulePkg / Library / CpuExceptionHandlerLibNull / CpuExceptionHandlerLibNull.c
index 35ab5a8db5139eed30cb18cb9a23ac12667fed9f..54f38788fe990cd64ef91994d4031dd62c3143b8 100644 (file)
@@ -1,7 +1,7 @@
 /** @file\r
   CPU Exception Handler library implementition with empty functions.\r
 \r
-  Copyright (c) 2012 - 2018, Intel Corporation. All rights reserved.<BR>\r
+  Copyright (c) 2012 - 2022, Intel Corporation. All rights reserved.<BR>\r
   SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
@@ -33,31 +33,6 @@ InitializeCpuExceptionHandlers (
   return EFI_SUCCESS;\r
 }\r
 \r
-/**\r
-  Initializes all CPU interrupt/exceptions entries and provides the default interrupt/exception handlers.\r
-\r
-  Caller should try to get an array of interrupt and/or exception vectors that are in use and need to\r
-  persist by EFI_VECTOR_HANDOFF_INFO defined in PI 1.3 specification.\r
-  If caller cannot get reserved vector list or it does not exists, set VectorInfo to NULL.\r
-  If VectorInfo is not NULL, the exception vectors will be initialized per vector attribute accordingly.\r
-\r
-  @param[in]  VectorInfo    Pointer to reserved vector list.\r
-\r
-  @retval EFI_SUCCESS           All CPU interrupt/exception entries have been successfully initialized\r
-                                with default interrupt/exception handlers.\r
-  @retval EFI_INVALID_PARAMETER VectorInfo includes the invalid content if VectorInfo is not NULL.\r
-  @retval EFI_UNSUPPORTED       This function is not supported.\r
-\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-InitializeCpuInterruptHandlers (\r
-  IN EFI_VECTOR_HANDOFF_INFO  *VectorInfo OPTIONAL\r
-  )\r
-{\r
-  return EFI_SUCCESS;\r
-}\r
-\r
 /**\r
   Registers a function to be called from the processor interrupt handler.\r
 \r
@@ -65,8 +40,8 @@ InitializeCpuInterruptHandlers (
   interrupt or exception type specified by InterruptType. If InterruptHandler is NULL, then the\r
   handler for the processor interrupt or exception type specified by InterruptType is uninstalled.\r
   The installed handler is called once for each processor interrupt or exception.\r
-  NOTE: This function should be invoked after InitializeCpuExceptionHandlers() or\r
-  InitializeCpuInterruptHandlers() invoked, otherwise EFI_UNSUPPORTED returned.\r
+  NOTE: This function should be invoked after InitializeCpuExceptionHandlers() is invoked,\r
+  otherwise EFI_UNSUPPORTED returned.\r
 \r
   @param[in]  InterruptType     Defines which interrupt or exception to hook.\r
   @param[in]  InterruptHandler  A pointer to a function of type EFI_CPU_INTERRUPT_HANDLER that is called\r