VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/FirmwareNew/MdeModulePkg/Include/Guid/DelayedDispatch.h@ 108794

Last change on this file since 108794 was 108794, checked in by vboxsync, 2 weeks ago

Devices/EFI/FirmwareNew: Merge edk2-stable202502 from the vendor branch and make it build for the important platforms, bugref:4643

  • Property svn:eol-style set to native
File size: 1.2 KB
Line 
1/** @file
2 Definition for structure & defines exported by Delayed Dispatch PPI
3
4 Copyright (c), Microsoft Corporation.
5
6 SPDX-License-Identifier: BSD-2-Clause-Patent
7
8**/
9
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// Maximal number of Delayed Dispatch entries supported
20//
21#define DELAYED_DISPATCH_MAX_ENTRIES 8
22
23//
24// Internal structure for delayed dispatch entries.
25// Packing the structures here to save space as they will be stored as HOBs.
26//
27#pragma pack (push, 1)
28
29typedef struct {
30 EFI_GUID DelayedGroupId;
31 UINT64 Context;
32 EFI_DELAYED_DISPATCH_FUNCTION Function;
33 UINT64 DispatchTime;
34 UINT32 MicrosecondDelay;
35} DELAYED_DISPATCH_ENTRY;
36
37typedef struct {
38 UINT32 Count;
39 UINT32 DispCount;
40 DELAYED_DISPATCH_ENTRY Entry[DELAYED_DISPATCH_MAX_ENTRIES];
41} DELAYED_DISPATCH_TABLE;
42
43#pragma pack (pop)
44
45extern EFI_GUID gEfiDelayedDispatchTableGuid;
46
47#endif
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette