]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPkg/Include/Library/BdsLib.h
ArmPkg: Fix warnings raised by ARMGCC
[mirror_edk2.git] / ArmPkg / Include / Library / BdsLib.h
CommitLineData
a355a365 1/** @file\r
2*\r
3* Copyright (c) 2011, ARM Limited. All rights reserved.\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#ifndef __BDS_ENTRY_H__\r
16#define __BDS_ENTRY_H__\r
17\r
18/**\r
19 Connect all DXE drivers\r
20\r
21 @retval EFI_SUCCESS All drivers have been connected\r
22 @retval EFI_NOT_FOUND No handles match the search.\r
23 @retval EFI_OUT_OF_RESOURCES There is not resource pool memory to store the matching results.\r
24\r
25**/\r
26EFI_STATUS\r
27BdsConnectAllDrivers (\r
28 VOID\r
29 );\r
30\r
31/**\r
32 Start a Linux kernel from a Device Path\r
33\r
34 @param LinuxKernel Device Path to the Linux Kernel\r
35 @param Parameters Linux kernel agruments\r
36 @param Fdt Device Path to the Flat Device Tree\r
37\r
38 @retval EFI_SUCCESS All drivers have been connected\r
39 @retval EFI_NOT_FOUND The Linux kernel Device Path has not been found\r
40 @retval EFI_OUT_OF_RESOURCES There is not enough resource memory to store the matching results.\r
41\r
42**/\r
43EFI_STATUS\r
44BdsBootLinux (\r
45 IN EFI_DEVICE_PATH_PROTOCOL* LinuxKernelDevicePath,\r
46 IN CONST CHAR8* Arguments,\r
47 IN EFI_DEVICE_PATH_PROTOCOL* FdtDevicePath\r
48 );\r
49\r
50/**\r
51 Start an EFI Application from any Firmware Volume\r
52\r
53 @param EfiApp EFI Application Name\r
54\r
55 @retval EFI_SUCCESS All drivers have been connected\r
56 @retval EFI_NOT_FOUND The Linux kernel Device Path has not been found\r
57 @retval EFI_OUT_OF_RESOURCES There is not enough resource memory to store the matching results.\r
58\r
59**/\r
60EFI_STATUS\r
61BdsLoadApplication (\r
62 IN EFI_HANDLE ParentImageHandle,\r
63 IN CHAR16* EfiApp\r
64 );\r
65\r
66#endif\r