|
TianoCore EDK2 master
|
#include <Library/BaseLib.h>#include <Library/BaseMemoryLib.h>#include <Library/DebugLib.h>#include <Library/DevicePathLib.h>#include <Library/MemoryAllocationLib.h>#include <Library/UefiBootServicesTableLib.h>#include <Library/UefiLib.h>#include <Library/UefiRuntimeServicesTableLib.h>Go to the source code of this file.
Functions | |
| EFI_STATUS EFIAPI | TryRunningQemuKernel (VOID) |
Head file for BDS Platform specific code
Copyright (C) 2015-2016, Red Hat, Inc. Copyright (c) 2004 - 2008, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file PlatformBm.h.
| EFI_STATUS EFIAPI TryRunningQemuKernel | ( | VOID | ) |
Download the kernel, the initial ramdisk, and the kernel command line from QEMU's fw_cfg. Construct a minimal SimpleFileSystem that contains the two image files, and load and start the kernel from it.
The kernel will be instructed via its command line to load the initrd from the same Simple FileSystem.
| EFI_NOT_FOUND | Kernel image was not found. |
| EFI_OUT_OF_RESOURCES | Memory allocation failed. |
| EFI_PROTOCOL_ERROR | Unterminated kernel command line. |
Loads and boots UEFI Linux via the FwCfg interface.
| EFI_NOT_FOUND | - The Linux kernel was not found |
Definition at line 17 of file QemuKernel.c.