]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/SmmPeriodicSmiLib.h
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / MdePkg / Include / Library / SmmPeriodicSmiLib.h
index d0c1f4cda7d81f1666a84fb3975b009748cb1143..83d9bdde0eb8de41bfe6eb6087f53a108e586deb 100644 (file)
@@ -2,13 +2,7 @@
   Provides services to enable and disable periodic SMI handlers.\r
 \r
 Copyright (c) 2011 - 2018, 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
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -70,7 +64,7 @@ PeriodicSmiExit (
   This function yields control back to the SMM Foundation.  When the next\r
   periodic SMI for the currently executing handler is triggered, the periodic\r
   SMI handler will be resumed and this function will return.  Use of this\r
-  function requires a seperate stack for the periodic SMI handler.  A non zero\r
+  function requires a separate stack for the periodic SMI handler.  A non zero\r
   stack size must be specified in PeriodicSmiEnable() for this function to be\r
   used.\r
 \r
@@ -102,7 +96,7 @@ PeriodicSmiYield (
 **/\r
 typedef\r
 VOID\r
-(EFIAPI *PERIODIC_SMI_LIBRARY_HANDLER) (\r
+(EFIAPI *PERIODIC_SMI_LIBRARY_HANDLER)(\r
   IN CONST VOID  *Context OPTIONAL,\r
   IN UINT64      ElapsedTime\r
   );\r
@@ -119,7 +113,7 @@ VOID
   @param[in]     DispatchFunction  A pointer to a periodic SMI handler function.\r
   @param[in]     Context           Optional content to pass into DispatchFunction.\r
   @param[in]     TickPeriod        The requested tick period in 100ns units that\r
-                                   control should be givien to the periodic SMI\r
+                                   control should be given to the periodic SMI\r
                                    handler.  Must be one of the supported values\r
                                    returned by PeriodicSmiSupportedPickPeriod().\r
   @param[in]     Cpu               Specifies the CPU that is required to execute\r
@@ -143,16 +137,16 @@ VOID
   @retval EFI_OUT_OF_RESOURCES   There are not enough resources to enable the\r
                                  periodic SMI handler.\r
   @retval EFI_OUT_OF_RESOURCES   There are not enough resources to allocate the\r
-                                 stack speficied by StackSize.\r
+                                 stack specified by StackSize.\r
   @retval EFI_SUCCESS            The periodic SMI handler was enabled.\r
 \r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
 PeriodicSmiEnable (\r
-  IN OUT EFI_HANDLE                    *DispatchHandle,    OPTIONAL\r
+  IN OUT EFI_HANDLE                    *DispatchHandle     OPTIONAL,\r
   IN     PERIODIC_SMI_LIBRARY_HANDLER  DispatchFunction,\r
-  IN     CONST VOID                    *Context,           OPTIONAL\r
+  IN     CONST VOID                    *Context            OPTIONAL,\r
   IN     UINT64                        TickPeriod,\r
   IN     UINTN                         Cpu,\r
   IN     UINTN                         StackSize\r