]> git.proxmox.com Git - mirror_edk2.git/blobdiff - EdkCompatibilityPkg/Compatibility/SmmControl2OnSmmControlThunk/SmmControl2OnSmmControlThunk.h
EdkCompatibilityPkg: Remove EdkCompatibilityPkg
[mirror_edk2.git] / EdkCompatibilityPkg / Compatibility / SmmControl2OnSmmControlThunk / SmmControl2OnSmmControlThunk.h
diff --git a/EdkCompatibilityPkg/Compatibility/SmmControl2OnSmmControlThunk/SmmControl2OnSmmControlThunk.h b/EdkCompatibilityPkg/Compatibility/SmmControl2OnSmmControlThunk/SmmControl2OnSmmControlThunk.h
deleted file mode 100644 (file)
index 25e9d3a..0000000
+++ /dev/null
@@ -1,79 +0,0 @@
-/** @file\r
-  Include file for SMM Control2 Protocol on SMM Control Protocol Thunk driver.\r
-  \r
-  Copyright (c) 2009 - 2011, 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
-  http://opensource.org/licenses/bsd-license.php\r
-\r
-  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
-  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
-\r
-**/\r
-\r
-#ifndef  _SMM_CONTROL2_ON_SMM_CONTROL_THUNK_H_\r
-#define  _SMM_CONTROL2_ON_SMM_CONTROL_THUNK_H_\r
-\r
-#include <PiDxe.h>\r
-#include <FrameworkSmm.h>\r
-\r
-#include <Protocol/SmmControl2.h>\r
-#include <Protocol/SmmControl.h>\r
-\r
-#include <Guid/EventGroup.h>\r
-\r
-#include <Library/DebugLib.h>\r
-#include <Library/UefiBootServicesTableLib.h>\r
-#include <Library/UefiDriverEntryPoint.h>\r
-#include <Library/UefiRuntimeLib.h>\r
-#include <Library/IoLib.h>\r
-\r
-/**\r
-  Invokes SMI activation from either the preboot or runtime environment.\r
-\r
-  This function generates an SMI.\r
-\r
-  @param[in]     This                The EFI_SMM_CONTROL2_PROTOCOL instance.\r
-  @param[in, out] CommandPort         The value written to the command port.\r
-  @param[in, out] DataPort            The value written to the data port.\r
-  @param[in]     Periodic            Optional mechanism to engender a periodic stream.\r
-  @param[in]     ActivationInterval  Optional parameter to repeat at this period one\r
-                                     time or, if the Periodic Boolean is set, periodically.\r
-\r
-  @retval EFI_SUCCESS            The SMI/PMI has been engendered.\r
-  @retval EFI_DEVICE_ERROR       The timing is unsupported.\r
-  @retval EFI_INVALID_PARAMETER  The activation period is unsupported.\r
-  @retval EFI_INVALID_PARAMETER  The last periodic activation has not been cleared. \r
-  @retval EFI_NOT_STARTED        The SMM base service has not been initialized.\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-SmmControl2Trigger (\r
-  IN CONST EFI_SMM_CONTROL2_PROTOCOL  *This,\r
-  IN OUT UINT8                        *CommandPort       OPTIONAL,\r
-  IN OUT UINT8                        *DataPort          OPTIONAL,\r
-  IN BOOLEAN                          Periodic           OPTIONAL,\r
-  IN UINTN                            ActivationInterval OPTIONAL\r
-  );\r
-\r
-/**\r
-  Clears any system state that was created in response to the Trigger() call.\r
-\r
-  This function acknowledges and causes the deassertion of the SMI activation source.\r
-\r
-  @param[in] This                The EFI_SMM_CONTROL2_PROTOCOL instance.\r
-  @param[in] Periodic            Optional parameter to repeat at this period one time\r
-\r
-  @retval EFI_SUCCESS            The SMI/PMI has been engendered.\r
-  @retval EFI_DEVICE_ERROR       The source could not be cleared.\r
-  @retval EFI_INVALID_PARAMETER  The service did not support the Periodic input argument.\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-SmmControl2Clear (\r
-  IN CONST EFI_SMM_CONTROL2_PROTOCOL  *This,\r
-  IN BOOLEAN                          Periodic OPTIONAL\r
-  );\r
-\r
-#endif  \r