]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPkg/Drivers/ArmGic/GicV3/ArmGicV3Lib.h
ArmPkg/ArmGic: Added GicV3 support to ArmGicDxe
[mirror_edk2.git] / ArmPkg / Drivers / ArmGic / GicV3 / ArmGicV3Lib.h
CommitLineData
d7133859
OM
1/** @file\r
2*\r
3* Copyright (c) 2014, ARM Limited. All rights reserved.\r
4*\r
5* This program and the accompanying materials are licensed and made available\r
6* under the terms and conditions of the BSD License which accompanies this\r
7* distribution. The full text of the license may be found at\r
8* http://opensource.org/licenses/bsd-license.php\r
9*\r
10* THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11* WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12*\r
13**/\r
14\r
15#ifndef _ARM_GIC_V3_H_\r
16#define _ARM_GIC_V3_H_\r
17\r
5f81082e
OM
18#define ICC_SRE_EL2_SRE (1 << 0)\r
19\r
20UINT32\r
21EFIAPI\r
22ArmGicV3GetControlSystemRegisterEnable (\r
23 VOID\r
24 );\r
25\r
26VOID\r
27EFIAPI\r
28ArmGicV3SetControlSystemRegisterEnable (\r
29 IN UINT32 ControlSystemRegisterEnable\r
30 );\r
31\r
d7133859
OM
32VOID\r
33EFIAPI\r
34ArmGicV3EnableInterruptInterface (\r
35 VOID\r
36 );\r
37\r
38VOID\r
39EFIAPI\r
40ArmGicV3DisableInterruptInterface (\r
41 VOID\r
42 );\r
43\r
44UINTN\r
45EFIAPI\r
46ArmGicV3AcknowledgeInterrupt (\r
47 VOID\r
48 );\r
49\r
50VOID\r
51EFIAPI\r
52ArmGicV3EndOfInterrupt (\r
53 IN UINTN Source\r
54 );\r
55\r
56VOID\r
57ArmGicV3SetBinaryPointer (\r
58 IN UINTN BinaryPoint\r
59 );\r
60\r
61VOID\r
62ArmGicV3SetPriorityMask (\r
63 IN UINTN Priority\r
64 );\r
65\r
66#endif\r