TianoCore EDK2 master
|
Go to the source code of this file.
Data Structures | |
struct | _EFI_DELAYED_DISPATCH_PPI |
Macros | |
#define | EFI_DELAYED_DISPATCH_PPI_GUID |
Typedefs | |
typedef VOID(EFIAPI * | EFI_DELAYED_DISPATCH_FUNCTION) (IN OUT UINT64 *Context, OUT UINT32 *NewDelay) |
typedef struct _EFI_DELAYED_DISPATCH_PPI | EFI_DELAYED_DISPATCH_PPI |
typedef EFI_STATUS(EFIAPI * | EFI_DELAYED_DISPATCH_REGISTER) (IN EFI_DELAYED_DISPATCH_PPI *This, IN EFI_DELAYED_DISPATCH_FUNCTION Function, IN UINT64 Context, IN EFI_GUID *DelayedGroupId OPTIONAL, IN UINT32 Delay) |
typedef EFI_STATUS(EFIAPI * | EFI_DELAYED_DISPATCH_WAIT_ON_EVENT) (IN EFI_DELAYED_DISPATCH_PPI *This, IN EFI_GUID DelayedGroupId) |
Variables | |
EFI_GUID | gEfiPeiDelayedDispatchPpiGuid |
EFI Delayed Dispatch PPI as defined in the PI 1.8A Specification
Provide timed event service in PEI
Copyright (c) 2020, American Megatrends International LLC. All rights reserved. Copyright (c) Microsoft Corporation. SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file DelayedDispatch.h.
#define EFI_DELAYED_DISPATCH_PPI_GUID |
Global ID for EFI_DELAYED_DISPATCH_PPI_GUID
Definition at line 17 of file DelayedDispatch.h.
Delayed Dispatch function. This routine is called sometime after the required delay. Upon return, if NewDelay is 0, the function is unregistered. If NewDelay is not zero, this routine will be called again after the new delay period.
[in,out] | Context | Pointer to Context. Can be updated by routine. |
[out] | NewDelay | The new delay in us. Leave at 0 to unregister callback. |
Definition at line 33 of file DelayedDispatch.h.
typedef struct _EFI_DELAYED_DISPATCH_PPI EFI_DELAYED_DISPATCH_PPI |
The forward declaration for EFI_DELAYED_DISPATCH_PPI
Definition at line 43 of file DelayedDispatch.h.
typedef EFI_STATUS(EFIAPI * EFI_DELAYED_DISPATCH_REGISTER) (IN EFI_DELAYED_DISPATCH_PPI *This, IN EFI_DELAYED_DISPATCH_FUNCTION Function, IN UINT64 Context, IN EFI_GUID *DelayedGroupId OPTIONAL, IN UINT32 Delay) |
Register a callback to be called after a minimum delay has occurred.
[in] | This | Pointer to the EFI_DELAYED_DISPATCH_PPI instance |
[in] | Function | Function to call back |
[in] | Context | Context data |
[in] | DelayedGroupId | Delayed dispatch request ID the caller will wait on |
[in] | Delay | Delay interval |
EFI_SUCCESS | Function successfully loaded |
EFI_INVALID_PARAMETER | One of the Arguments is not supported |
EFI_OUT_OF_RESOURCES | No more entries |
Definition at line 60 of file DelayedDispatch.h.
typedef EFI_STATUS(EFIAPI * EFI_DELAYED_DISPATCH_WAIT_ON_EVENT) (IN EFI_DELAYED_DISPATCH_PPI *This, IN EFI_GUID DelayedGroupId) |
Wait on a registered Delayed Dispatch unit that has a DelayedGroupId. Continue to dispatch all registered delayed dispatch entries until ALL entries with DelayedGroupId have completed.
[in] | This | The Delayed Dispatch PPI pointer. |
[in] | DelayedGroupId | Delayed dispatch request ID the caller will wait on |
EFI_SUCCESS | Function successfully invoked |
EFI_INVALID_PARAMETER | One of the Arguments is not supported |
Definition at line 83 of file DelayedDispatch.h.