TianoCore EDK2 master
Loading...
Searching...
No Matches
DelayedDispatch.h
Go to the documentation of this file.
1
10#ifndef DELAYED_DISPATCH_H_
11#define DELAYED_DISPATCH_H_
12
13// Delayed Dispatch table GUID
14#define EFI_DELAYED_DISPATCH_TABLE_GUID {\
15 0x4b733449, 0x8eff, 0x488c, { 0x92, 0x1a, 0x15, 0x4a, 0xda, 0x25, 0x18, 0x07 } \
16 }
17
18//
19// Internal structure for delayed dispatch entries.
20// Packing the structures here to save space as they will be stored as HOBs.
21//
22#pragma pack (push, 1)
23
24typedef struct {
25 EFI_GUID DelayedGroupId;
26 UINT64 Context;
28 UINT64 DispatchTime;
29 UINT32 MicrosecondDelay;
31
32typedef struct {
33 UINT32 Count;
34 UINT32 DispCount;
35 DELAYED_DISPATCH_ENTRY Entry[]; // Number of entries is based on PcdDelayedDispatchMaxEntries
37
38#pragma pack (pop)
39
40extern EFI_GUID gEfiDelayedDispatchTableGuid;
41
42#endif
VOID(EFIAPI * EFI_DELAYED_DISPATCH_FUNCTION)(IN OUT UINT64 *Context, OUT UINT32 *NewDelay)
Definition: Base.h:213