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
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
**/\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
@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
@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