]>
Commit | Line | Data |
---|---|---|
a4ab7df4 OM |
1 | /** @file\r |
2 | \r | |
04f1a709 | 3 | Copyright (c) 2013-2015, ARM Ltd. All rights reserved.<BR>\r |
a4ab7df4 OM |
4 | \r |
5 | This program and the accompanying materials\r | |
6 | are licensed and made available under the terms and conditions of the BSD License\r | |
7 | which accompanies this 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 | |
ced216f8 | 15 | #include <Library/ArmShellCmdLib.h>\r |
7004b3e4 | 16 | #include <Library/DebugLib.h>\r |
dff72027 | 17 | \r |
04f1a709 RC |
18 | /**\r |
19 | * Generic UEFI Entrypoint for 'ArmHwDxe' driver\r | |
20 | * See UEFI specification for the details of the parameters\r | |
21 | */\r | |
a4ab7df4 OM |
22 | EFI_STATUS\r |
23 | EFIAPI\r | |
24 | ArmHwInitialise (\r | |
25 | IN EFI_HANDLE ImageHandle,\r | |
26 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
27 | )\r | |
28 | {\r | |
ced216f8 HL |
29 | EFI_STATUS Status;\r |
30 | \r | |
31 | // Install dynamic Shell command to run baremetal binaries.\r | |
32 | Status = ShellDynCmdRunAxfInstall (ImageHandle);\r | |
33 | if (EFI_ERROR (Status)) {\r | |
34 | DEBUG ((EFI_D_ERROR, "ArmHwDxe: Failed to install ShellDynCmdRunAxf\n"));\r | |
35 | }\r | |
36 | \r | |
37 | return Status;\r | |
a4ab7df4 | 38 | }\r |