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 the periodical timer 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
|
||||
@@ -47,21 +47,21 @@
|
||||
///
|
||||
typedef struct {
|
||||
///
|
||||
/// The minimum period of time in 100 nanosecond units that the child gets called. The
|
||||
/// The minimum period of time in 100 nanosecond units that the child gets called. The
|
||||
/// child will be called back after a time greater than the time Period.
|
||||
///
|
||||
UINT64 Period;
|
||||
///
|
||||
/// The period of time interval between SMIs. Children of this interface should use this
|
||||
/// field when registering for periodic timer intervals when a finer granularity periodic
|
||||
/// The period of time interval between SMIs. Children of this interface should use this
|
||||
/// field when registering for periodic timer intervals when a finer granularity periodic
|
||||
/// SMI is desired.
|
||||
///
|
||||
UINT64 SmiTickInterval;
|
||||
} EFI_SMM_PERIODIC_TIMER_REGISTER_CONTEXT;
|
||||
|
||||
///
|
||||
/// The DispatchFunction will be called with Context set to the same value as was passed into
|
||||
/// Register() in RegisterContext and with CommBuffer pointing to an instance of
|
||||
/// The DispatchFunction will be called with Context set to the same value as was passed into
|
||||
/// Register() in RegisterContext and with CommBuffer pointing to an instance of
|
||||
/// EFI_SMM_PERIODIC_TIMER_CONTEXT and CommBufferSize pointing to its size.
|
||||
///
|
||||
typedef EFI_MM_PERIODIC_TIMER_CONTEXT EFI_SMM_PERIODIC_TIMER_CONTEXT;
|
||||
@@ -71,22 +71,22 @@ typedef struct _EFI_SMM_PERIODIC_TIMER_DISPATCH2_PROTOCOL EFI_SMM_PERIODIC_TIME
|
||||
/**
|
||||
Register a child SMI source dispatch function for SMM periodic timer.
|
||||
|
||||
This service registers a function (DispatchFunction) which will be called when at least the
|
||||
amount of time specified by RegisterContext has elapsed. On return, DispatchHandle
|
||||
This service registers a function (DispatchFunction) which will be called when at least the
|
||||
amount of time specified by RegisterContext has elapsed. On return, DispatchHandle
|
||||
contains a unique handle which may be used later to unregister the function using UnRegister().
|
||||
The DispatchFunction will be called with Context set to the same value as was passed into
|
||||
this function in RegisterContext and with CommBuffer pointing to an instance of
|
||||
The DispatchFunction will be called with Context set to the same value as was passed into
|
||||
this function in RegisterContext and with CommBuffer pointing to an instance of
|
||||
EFI_SMM_PERIODIC_TIMER_CONTEXT and CommBufferSize pointing to its size.
|
||||
|
||||
@param[in] This Pointer to the EFI_SMM_PERIODIC_TIMER_DISPATCH2_PROTOCOL instance.
|
||||
@param[in] DispatchFunction Function to register for handler when at least the specified amount
|
||||
of time has elapsed.
|
||||
of time has elapsed.
|
||||
@param[in] RegisterContext Pointer to the dispatch function's context.
|
||||
The caller fills this context in before calling
|
||||
the register function to indicate to the register
|
||||
function the period at which the dispatch function
|
||||
should be invoked.
|
||||
@param[out] DispatchHandle Handle generated by the dispatcher to track the function instance.
|
||||
@param[out] DispatchHandle Handle generated by the dispatcher to track the function instance.
|
||||
|
||||
@retval EFI_SUCCESS The dispatch function has been successfully
|
||||
registered and the SMI source has been enabled.
|
||||
@@ -107,7 +107,7 @@ EFI_STATUS
|
||||
/**
|
||||
Unregisters a periodic timer service.
|
||||
|
||||
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 when the time has elapsed.
|
||||
|
||||
@param[in] This Pointer to the EFI_SMM_PERIODIC_TIMER_DISPATCH2_PROTOCOL instance.
|
||||
|
Reference in New Issue
Block a user