VirtualBox

source: vbox/trunk/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Include/Guid/DebugMask.h@ 95057

最後變更 在這個檔案從95057是 80721,由 vboxsync 提交於 5 年 前

Devices/EFI/FirmwareNew: Start upgrade process to edk2-stable201908 (compiles on Windows and works to some extent), bugref:4643

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.5 KB
 
1/** @file
2
3 Debug Mask Protocol.
4
5Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR>
6SPDX-License-Identifier: BSD-2-Clause-Patent
7
8**/
9
10#ifndef __DEBUG_MASK_H__
11#define __DEBUG_MASK_H__
12
13///
14/// Protocol GUID for DXE Phase Debug Mask support
15///
16#define EFI_DEBUG_MASK_PROTOCOL_GUID \
17 { 0x4c8a2451, 0xc207, 0x405b, {0x96, 0x94, 0x99, 0xea, 0x13, 0x25, 0x13, 0x41} }
18
19///
20/// Forward reference for pure ANSI compatability
21///
22typedef struct _EFI_DEBUG_MASK_PROTOCOL EFI_DEBUG_MASK_PROTOCOL;
23
24///
25///
26///
27#define EFI_DEBUG_MASK_REVISION 0x00010000
28
29//
30// DebugMask member functions definition
31//
32typedef
33EFI_STATUS
34(EFIAPI * EFI_GET_DEBUG_MASK) (
35 IN EFI_DEBUG_MASK_PROTOCOL *This,
36 IN OUT UINTN *CurrentDebugMask
37 );
38
39typedef
40EFI_STATUS
41(EFIAPI *EFI_SET_DEBUG_MASK) (
42 IN EFI_DEBUG_MASK_PROTOCOL *This,
43 IN UINTN NewDebugMask
44 );
45
46///
47/// DebugMask protocol definition
48///
49struct _EFI_DEBUG_MASK_PROTOCOL {
50 INT64 Revision;
51 EFI_GET_DEBUG_MASK GetDebugMask;
52 EFI_SET_DEBUG_MASK SetDebugMask;
53};
54
55extern EFI_GUID gEfiDebugMaskProtocolGuid;
56
57///
58/// GUID used to store the global debug mask in an the "EFIDebug" EFI Variabe
59/// Also used as a GUIDed HOB that contains a UINT32 debug mask default value
60///
61#define EFI_GENERIC_VARIABLE_GUID \
62 { 0x59d1c24f, 0x50f1, 0x401a, {0xb1, 0x01, 0xf3, 0x3e, 0x0d, 0xae, 0xd4, 0x43} }
63
64#define DEBUG_MASK_VARIABLE_NAME L"EFIDebug"
65
66extern EFI_GUID gEfiGenericVariableGuid;
67
68#endif
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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