]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Include/Guid/StatusCodeDataTypeDebug.h
Clean up DEC files:
[mirror_edk2.git] / MdeModulePkg / Include / Guid / StatusCodeDataTypeDebug.h
CommitLineData
10c5d87e 1/** @file\r
2 This file defines the GUID and data structure used to pass DEBUG() macro \r
3 information to the Status Code Protocol and Status Code PPI.\r
4\r
cd5ebaa0 5Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
64a80549 6This program and the accompanying materials are licensed and made available under \r
7the terms and conditions of the BSD License that accompanies this distribution. \r
8The full text of the license may be found at\r
9http://opensource.org/licenses/bsd-license.php. \r
10c5d87e 10\r
64a80549 11THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
12WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
10c5d87e 13\r
14**/\r
15\r
16#ifndef _STATUS_CODE_DATA_TYPE_DEBUG_H_\r
17#define _STATUS_CODE_DATA_TYPE_DEBUG_H_\r
18\r
19///\r
64a80549 20/// The Global ID used to identify a structure of type EFI_DEBUG_INFO.\r
10c5d87e 21///\r
22#define EFI_STATUS_CODE_DATA_TYPE_DEBUG_GUID \\r
23 { \\r
24 0x9A4E9246, 0xD553, 0x11D5, { 0x87, 0xE2, 0x00, 0x06, 0x29, 0x45, 0xC3, 0xb9 } \\r
25 }\r
26\r
27///\r
64a80549 28/// The maximum size of an EFI_DEBUG_INFO structure.\r
10c5d87e 29///\r
30#define EFI_STATUS_CODE_DATA_MAX_SIZE 200\r
31\r
32///\r
33/// This structure contains the ErrorLevel passed into the DEBUG() macro, followed \r
34/// by a 96-byte buffer that contains the variable argument list passed to the \r
64a80549 35/// DEBUG() macro that has been converted to a BASE_LIST. The 96-byte buffer is \r
10c5d87e 36/// followed by a Null-terminated ASCII string that is the Format string passed \r
37/// to the DEBUG() macro. The maximum size of this structure is defined by \r
38/// EFI_STATUS_CODE_DATA_MAX_SIZE.\r
39///\r
40typedef struct {\r
41 ///\r
42 /// The debug error level passed into a DEBUG() macro.\r
43 ///\r
44 UINT32 ErrorLevel;\r
45} EFI_DEBUG_INFO;\r
46\r
47extern EFI_GUID gEfiStatusCodeDataTypeDebugGuid;\r
48\r
49#endif // _STATUS_CODE_DATA_TYPE_DEBUG_H_\r