]> git.proxmox.com Git - mirror_edk2.git/blame - ArmPlatformPkg/ArmVirtualizationPkg/Library/PlatformIntelBdsLib/IntelBdsPlatform.h
MdeModulePkg/UfsPciHcDxe: Fix EBC build error
[mirror_edk2.git] / ArmPlatformPkg / ArmVirtualizationPkg / Library / PlatformIntelBdsLib / IntelBdsPlatform.h
CommitLineData
be8afe14
LE
1/** @file\r
2 Head file for BDS Platform specific code\r
3\r
e4fbd18f 4 Copyright (c) 2004 - 2008, Intel Corporation. All rights reserved.<BR>\r
be8afe14 5\r
e4fbd18f
LE
6 This program and the accompanying materials are licensed and made available\r
7 under the terms and conditions of the BSD License which accompanies this\r
8 distribution. The full text of the license may be found at\r
9 http://opensource.org/licenses/bsd-license.php\r
10\r
11 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r
12 WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
be8afe14
LE
13\r
14**/\r
15\r
16#ifndef _INTEL_BDS_PLATFORM_H_\r
17#define _INTEL_BDS_PLATFORM_H_\r
18\r
e4fbd18f 19#include <Library/BaseLib.h>\r
be8afe14 20#include <Library/BaseMemoryLib.h>\r
be8afe14
LE
21#include <Library/DebugLib.h>\r
22#include <Library/DevicePathLib.h>\r
be8afe14 23#include <Library/MemoryAllocationLib.h>\r
e4fbd18f
LE
24#include <Library/UefiBootServicesTableLib.h>\r
25#include <Library/UefiRuntimeServicesTableLib.h>\r
be8afe14 26\r
1b610ac2
LE
27VOID\r
28PlatformBdsEnterFrontPage (\r
29 IN UINT16 TimeoutDefault,\r
30 IN BOOLEAN ConnectAllHappened\r
31 );\r
32\r
23d04b58
LE
33/**\r
34 Download the kernel, the initial ramdisk, and the kernel command line from\r
35 QEMU's fw_cfg. Construct a minimal SimpleFileSystem that contains the two\r
36 image files, and load and start the kernel from it.\r
37\r
38 The kernel will be instructed via its command line to load the initrd from\r
39 the same Simple FileSystem.\r
40\r
41 @retval EFI_NOT_FOUND Kernel image was not found.\r
42 @retval EFI_OUT_OF_RESOURCES Memory allocation failed.\r
43 @retval EFI_PROTOCOL_ERROR Unterminated kernel command line.\r
44\r
45 @return Error codes from any of the underlying\r
46 functions. On success, the function doesn't\r
47 return.\r
48**/\r
49EFI_STATUS\r
50EFIAPI\r
51TryRunningQemuKernel (\r
52 VOID\r
53 );\r
54\r
be8afe14 55#endif // _INTEL_BDS_PLATFORM_H\r