X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FSmmSwDispatch2.h;h=bd1e5b6c7773a5a1900a7aa3b22d49fc1dd1e300;hp=b49ef96e481ec25006e07ccbbdc7d7124d3d527f;hb=9095d37b8fe5bfc3d02adad6ba7fd7359ebc0107;hpb=d1102dba7210b95e41d06c2338a22ba6af248645 diff --git a/MdePkg/Include/Protocol/SmmSwDispatch2.h b/MdePkg/Include/Protocol/SmmSwDispatch2.h index b49ef96e48..bd1e5b6c77 100644 --- a/MdePkg/Include/Protocol/SmmSwDispatch2.h +++ b/MdePkg/Include/Protocol/SmmSwDispatch2.h @@ -4,7 +4,7 @@ This protocol provides the parent dispatch service for a given SMI source generator. - Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.
+ Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at @@ -33,9 +33,9 @@ typedef struct { } EFI_SMM_SW_REGISTER_CONTEXT; /// -/// The DispatchFunction will be called with Context set to the same value as was passed into +/// The DispatchFunction will be called with Context set to the same value as was passed into /// this function in RegisterContext and with CommBuffer (and CommBufferSize) pointing -/// to an instance of EFI_SMM_SW_CONTEXT indicating the index of the CPU which generated the +/// to an instance of EFI_SMM_SW_CONTEXT indicating the index of the CPU which generated the /// software SMI. /// typedef struct { @@ -58,14 +58,14 @@ typedef struct _EFI_SMM_SW_DISPATCH2_PROTOCOL EFI_SMM_SW_DISPATCH2_PROTOCOL; /** Register a child SMI source dispatch function for the specified software SMI. - This service registers a function (DispatchFunction) which will be called when the software - SMI source specified by RegisterContext->SwSmiCpuIndex is detected. On return, - DispatchHandle contains a unique handle which may be used later to unregister the function + This service registers a function (DispatchFunction) which will be called when the software + SMI source specified by RegisterContext->SwSmiCpuIndex is detected. On return, + DispatchHandle contains a unique handle which may be used later to unregister the function using UnRegister(). @param[in] This Pointer to the EFI_SMM_SW_DISPATCH2_PROTOCOL instance. - @param[in] DispatchFunction Function to register for handler when the specified software - SMI is generated. + @param[in] DispatchFunction Function to register for handler when the specified software + SMI is generated. @param[in, out] RegisterContext Pointer to the dispatch function's context. The caller fills this context in before calling the register function to indicate to the register @@ -96,7 +96,7 @@ EFI_STATUS /** Unregister a child SMI source dispatch function for the specified software SMI. - This service removes the handler associated with DispatchHandle so that it will no longer be + This service removes the handler associated with DispatchHandle so that it will no longer be called in response to a software SMI. @param[in] This Pointer to the EFI_SMM_SW_DISPATCH2_PROTOCOL instance. @@ -115,15 +115,15 @@ EFI_STATUS /// /// Interface structure for the SMM Software SMI Dispatch Protocol. /// -/// The EFI_SMM_SW_DISPATCH2_PROTOCOL provides the ability to install child handlers for the -/// given software. These handlers will respond to software interrupts, and the maximum software +/// The EFI_SMM_SW_DISPATCH2_PROTOCOL provides the ability to install child handlers for the +/// given software. These handlers will respond to software interrupts, and the maximum software /// interrupt in the EFI_SMM_SW_REGISTER_CONTEXT is denoted by MaximumSwiValue. /// struct _EFI_SMM_SW_DISPATCH2_PROTOCOL { EFI_SMM_SW_REGISTER2 Register; EFI_SMM_SW_UNREGISTER2 UnRegister; /// - /// A read-only field that describes the maximum value that can be used in the + /// A read-only field that describes the maximum value that can be used in the /// EFI_SMM_SW_DISPATCH2_PROTOCOL.Register() service. /// UINTN MaximumSwiValue;