summaryrefslogtreecommitdiff
path: root/UefiPayloadPkg/Include/Guid/DebugPrintErrorLevel.h
blob: 59c973015fa4a0cb8f5e757ab00ab70fe9c814ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/** @file
  Define the structure for Debug Print Error Level Guid Hob.

Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent

**/

#pragma once

#include <Uefi.h>
#include <UniversalPayload/UniversalPayload.h>

#pragma pack (1)
//
// ErrorLevel: The error level of the debug message.
// Bits for ErrorLevel is declared in
// edk2\MdePkg\Include\Library\DebugLib.h
//
typedef struct {
  UNIVERSAL_PAYLOAD_GENERIC_HEADER    Header;
  UINT32                              ErrorLevel;
} UEFI_PAYLOAD_DEBUG_PRINT_ERROR_LEVEL;

#pragma pack()

#define UEFI_PAYLOAD_DEBUG_PRINT_ERROR_LEVEL_REVISION  1

extern GUID  gEdkiiDebugPrintErrorLevelGuid;