MdePkg: Clean up source files
1. Do not use tab characters 2. No trailing white space in one line 3. All files must end with CRLF Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Liming Gao <liming.gao@intel.com>
This commit is contained in:
@@ -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.<BR>
|
||||
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
|
||||
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;
|
||||
|
Reference in New Issue
Block a user