TianoCore EDK2 master
|
#include <Uefi.h>
#include <Guid/EventGroup.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/DevicePathLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/PcdLib.h>
#include <Library/UefiBootManagerLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
#include <Protocol/LoadedImage.h>
#include <Protocol/PlatformBootManager.h>
Go to the source code of this file.
Functions | |
STATIC VOID | PlatformRegisterFvBootOption (CONST EFI_GUID *FileGuid, CHAR16 *Description, UINT32 Attributes) |
VOID EFIAPI | PlatformBootManagerBeforeConsole (VOID) |
VOID EFIAPI | PlatformBootManagerAfterConsole (VOID) |
VOID EFIAPI | PlatformBootManagerWaitCallback (UINT16 TimeoutRemain) |
VOID EFIAPI | PlatformBootManagerUnableToBoot (VOID) |
Implementation for PlatformBootManagerLib library class interfaces.
Copyright (C) 2015-2016, Red Hat, Inc. Copyright (c) 2014 - 2019, ARM Ltd. All rights reserved.
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.
Copyright (c) 2016, Linaro Ltd. All rights reserved.
Copyright (c) 2020 - 2021, Ampere Computing LLC. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file LinuxBootBm.c.
VOID EFIAPI PlatformBootManagerAfterConsole | ( | VOID | ) |
Do the platform specific action after the console is connected.
Such as: Dynamically switch output mode; Signal console ready platform customized event; Run diagnostics like memory testing; Connect certain devices; Dispatch additional option roms.
Definition at line 136 of file LinuxBootBm.c.
VOID EFIAPI PlatformBootManagerBeforeConsole | ( | VOID | ) |
Do the platform specific action before the console is connected.
Such as: Update console variable; Register new Driver#### or Boot####; Signal ReadyToLock event.
Definition at line 114 of file LinuxBootBm.c.
VOID EFIAPI PlatformBootManagerUnableToBoot | ( | VOID | ) |
The function is called when no boot option could be launched, including platform recovery options and options pointing to applications built into firmware volumes.
If this function returns, BDS attempts to enter an infinite loop.
Definition at line 182 of file LinuxBootBm.c.
VOID EFIAPI PlatformBootManagerWaitCallback | ( | UINT16 | TimeoutRemain | ) |
This function is called each second during the boot manager waits the timeout.
TimeoutRemain | The remaining timeout. |
Definition at line 166 of file LinuxBootBm.c.
STATIC VOID PlatformRegisterFvBootOption | ( | CONST EFI_GUID * | FileGuid, |
CHAR16 * | Description, | ||
UINT32 | Attributes | ||
) |
Register a boot option using a file GUID in the FV.
FileGuid | The file GUID name in the FV. |
Description | The description of the boot option. |
Attributes | The attributes of the boot option. |
Definition at line 40 of file LinuxBootBm.c.