]>
Commit | Line | Data |
---|---|---|
1bfda055 | 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 | |
a355a365 | 15 | #ifndef _BDS_UNIX_LIB_H_\r |
16 | #define _BDS_UNIX_LIB_H_\r | |
1bfda055 | 17 | \r |
a355a365 | 18 | /**\r |
19 | Start a Linux kernel from a Device Path\r | |
1bfda055 | 20 | \r |
a355a365 | 21 | @param LinuxKernel Device Path to the Linux Kernel\r |
22 | @param Parameters Linux kernel agruments\r | |
23 | @param Fdt Device Path to the Flat Device Tree\r | |
1bfda055 | 24 | \r |
a355a365 | 25 | @retval EFI_SUCCESS All drivers have been connected\r |
26 | @retval EFI_NOT_FOUND The Linux kernel Device Path has not been found\r | |
27 | @retval EFI_OUT_OF_RESOURCES There is not enough resource memory to store the matching results.\r | |
1bfda055 | 28 | \r |
a355a365 | 29 | **/\r |
1bfda055 | 30 | EFI_STATUS\r |
a355a365 | 31 | BdsBootLinux (\r |
32 | IN EFI_DEVICE_PATH_PROTOCOL* LinuxKernelDevicePath,\r | |
656416bc | 33 | IN EFI_DEVICE_PATH_PROTOCOL* InitrdDevicePath,\r |
a355a365 | 34 | IN CONST CHAR8* Arguments,\r |
35 | IN EFI_DEVICE_PATH_PROTOCOL* FdtDevicePath\r | |
36 | );\r | |
1bfda055 | 37 | \r |
38 | #endif\r |