]>
Commit | Line | Data |
---|---|---|
a4ab7df4 OM |
1 | /** @file\r |
2 | \r | |
3 | Copyright (c) 2013-2014, ARM Ltd. All rights reserved.<BR>\r | |
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 | |
15 | #include <Library/UefiLib.h>\r | |
ced216f8 HL |
16 | #include <Library/DebugLib.h>\r |
17 | #include <Library/ArmShellCmdLib.h>\r | |
a4ab7df4 OM |
18 | \r |
19 | EFI_STATUS\r | |
20 | EFIAPI\r | |
21 | ArmHwInitialise (\r | |
22 | IN EFI_HANDLE ImageHandle,\r | |
23 | IN EFI_SYSTEM_TABLE *SystemTable\r | |
24 | )\r | |
25 | {\r | |
ced216f8 HL |
26 | EFI_STATUS Status;\r |
27 | \r | |
28 | // Install dynamic Shell command to run baremetal binaries.\r | |
29 | Status = ShellDynCmdRunAxfInstall (ImageHandle);\r | |
30 | if (EFI_ERROR (Status)) {\r | |
31 | DEBUG ((EFI_D_ERROR, "ArmHwDxe: Failed to install ShellDynCmdRunAxf\n"));\r | |
32 | }\r | |
33 | \r | |
34 | return Status;\r | |
a4ab7df4 | 35 | }\r |