]> git.proxmox.com Git - mirror_edk2.git/blob - ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Madt/MadtParser.h
ShellPkg: Apply uncrustify changes
[mirror_edk2.git] / ShellPkg / Library / UefiShellAcpiViewCommandLib / Parsers / Madt / MadtParser.h
1 /** @file
2 Header file for MADT table parser
3
4 Copyright (c) 2019, ARM Limited. All rights reserved.
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 @par Reference(s):
8 - Arm Generic Interrupt Controller Architecture Specification,
9 GIC architecture version 3 and version 4, issue E
10 - Arm Server Base System Architecture 5.0
11 **/
12
13 #ifndef MADT_PARSER_H_
14 #define MADT_PARSER_H_
15
16 ///
17 /// Level 3 base server system Private Peripheral Inerrupt (PPI) ID assignments
18 ///
19 #define ARM_PPI_ID_OVERFLOW_INTERRUPT_FROM_CNTP 30
20 #define ARM_PPI_ID_OVERFLOW_INTERRUPT_FROM_CNTPS 29
21 #define ARM_PPI_ID_OVERFLOW_INTERRUPT_FROM_CNTHV 28
22 #define ARM_PPI_ID_OVERFLOW_INTERRUPT_FROM_CNTV 27
23 #define ARM_PPI_ID_OVERFLOW_INTERRUPT_FROM_CNTHP 26
24 #define ARM_PPI_ID_GIC_MAINTENANCE_INTERRUPT 25
25 #define ARM_PPI_ID_CTIIRQ 24
26 #define ARM_PPI_ID_PERFORMANCE_MONITORS_INTERRUPT 23
27 #define ARM_PPI_ID_COMMIRQ 22
28 #define ARM_PPI_ID_PMBIRQ 21
29 #define ARM_PPI_ID_CNTHPS 20
30 #define ARM_PPI_ID_CNTHVS 19
31
32 ///
33 /// PPI ID allowed ranges
34 ///
35 #define ARM_PPI_ID_MAX 31
36 #define ARM_PPI_ID_MIN 16
37 #define ARM_PPI_ID_EXTENDED_MAX 1119
38 #define ARM_PPI_ID_EXTENDED_MIN 1056
39
40 #endif // MADT_PARSER_H_