2 This file defines the GUID and data structure used to pass DEBUG() macro
3 information to the Status Code Protocol and Status Code PPI.
5 Copyright (c) 2007 - 2009, Intel Corporation
6 All rights reserved. This program and the accompanying materials
7 are licensed and made available under the terms and conditions of the BSD License
8 which accompanies this distribution. The full text of the license may be found at
9 http://opensource.org/licenses/bsd-license.php
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
16 #ifndef _STATUS_CODE_DATA_TYPE_DEBUG_H_
17 #define _STATUS_CODE_DATA_TYPE_DEBUG_H_
20 /// Global ID used to identify a structure of type EFI_DEBUG_INFO
22 #define EFI_STATUS_CODE_DATA_TYPE_DEBUG_GUID \
24 0x9A4E9246, 0xD553, 0x11D5, { 0x87, 0xE2, 0x00, 0x06, 0x29, 0x45, 0xC3, 0xb9 } \
28 /// The maximum size of an EFI_DEBUG_INO structure
30 #define EFI_STATUS_CODE_DATA_MAX_SIZE 200
33 /// This structure contains the ErrorLevel passed into the DEBUG() macro followed
34 /// by a 96-byte buffer that contains the variable argument list passed to the
35 // DEBUG() macro that has been converted to a BASE_LIST. The 96-byte buffer is
36 /// followed by a Null terminated ASCII string that is the Format string passed
37 /// to the DEBUG() macro. The maximum size of this structure is defined by
38 /// EFI_STATUS_CODE_DATA_MAX_SIZE.
42 /// The debug error level passed into a DEBUG() macro.
47 extern EFI_GUID gEfiStatusCodeDataTypeDebugGuid
;
49 #endif // _STATUS_CODE_DATA_TYPE_DEBUG_H_