]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPkg/Drivers/ArmGic/ArmGicDxe.c
ArmPkg: Renamed ArmArchTimerLib.h to ArmArchTimer.h
[mirror_edk2.git] / ArmPkg / Drivers / ArmGic / ArmGicDxe.c
CommitLineData
1e57a462 1/*++\r
2\r
f5241b57 3Copyright (c) 2013-2014, ARM Ltd. All rights reserved.<BR>\r
1e57a462 4\r
e700a1fc
OM
5This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
1e57a462 12\r
13Module Name:\r
14\r
e700a1fc 15 ArmGicDxe.c\r
1e57a462 16\r
17Abstract:\r
18\r
19 Driver implementing the GIC interrupt controller protocol\r
20\r
21--*/\r
22\r
23#include <PiDxe.h>\r
24\r
69b5dc9f 25#include "ArmGicDxe.h"\r
1e57a462 26\r
1e57a462 27/**\r
28 Initialize the state information for the CPU Architectural Protocol\r
29\r
30 @param ImageHandle of the loaded driver\r
31 @param SystemTable Pointer to the System Table\r
32\r
33 @retval EFI_SUCCESS Protocol registered\r
34 @retval EFI_OUT_OF_RESOURCES Cannot allocate protocol data structure\r
35 @retval EFI_DEVICE_ERROR Hardware problems\r
36\r
37**/\r
38EFI_STATUS\r
39InterruptDxeInitialize (\r
40 IN EFI_HANDLE ImageHandle,\r
41 IN EFI_SYSTEM_TABLE *SystemTable\r
42 )\r
43{\r
f5241b57 44 EFI_STATUS Status;\r
e700a1fc 45\r
f5241b57 46 Status = GicV2DxeInitialize (ImageHandle, SystemTable);\r
1e57a462 47\r
48 return Status;\r
49}\r