]> git.proxmox.com Git - mirror_edk2.git/blob - ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Pcct/PcctParser.h
ShellPkg: Apply uncrustify changes
[mirror_edk2.git] / ShellPkg / Library / UefiShellAcpiViewCommandLib / Parsers / Pcct / PcctParser.h
1 /** @file
2 Header file for PCCT parser
3
4 Copyright (c) 2020, Arm Limited.
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6 **/
7
8 #ifndef PCCT_PARSER_H_
9 #define PCCT_PARSER_H_
10
11 /**
12 Minimum value for the 'length' field in subspaces of types 0, 1 and 2.
13 */
14 #define MIN_MEMORY_RANGE_LENGTH 8
15
16 /**
17 Minimum value for the 'length' field in subspaces of types 3 and 4.
18 */
19 #define MIN_EXT_PCC_SUBSPACE_MEM_RANGE_LEN 16
20
21 /**
22 Maximum number of PCC subspaces.
23 */
24 #define MAX_PCC_SUBSPACES 256
25
26 /**
27 Parser for the header of any type of PCC subspace.
28 */
29 #define PCC_SUBSPACE_HEADER() \
30 {L"Type", 1, 0, L"0x%x", NULL, (VOID**)&PccSubspaceType, NULL, NULL}, \
31 {L"Length", 1, 1, L"%u", NULL, (VOID**)&PccSubspaceLength, NULL, NULL}
32
33 #endif // PCCT_PARSER_H_