You've already forked edk2-platforms
mirror of
https://github.com/Dasharo/edk2-platforms.git
synced 2026-03-06 14:51:43 -08:00
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=2229 Introduces a new library class FirmwareBootMediaInfoLib that is used to report the firmware boot media device. A default library instance is provided that always returns the firmware boot media is SPI flash. For platforms with other firmware boot media options, a board-specific instance of this library should be used instead to provide the correct firmware boot media device information. Cc: Eric Dong <eric.dong@intel.com> Cc: Liming Gao <liming.gao@intel.com> Signed-off-by: Michael Kubacki <michael.a.kubacki@intel.com> Reviewed-by: Eric Dong <eric .dong@intel.com>
27 lines
667 B
C
27 lines
667 B
C
/** @file
|
|
This library identifies the firmware boot media device.
|
|
|
|
Copyright (c) 2019, Intel Corporation. All rights reserved.<BR>
|
|
SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
|
|
**/
|
|
|
|
#ifndef _FIRMWARE_BOOT_MEDIA_INFO_LIB_H_
|
|
#define _FIRMWARE_BOOT_MEDIA_INFO_LIB_H_
|
|
|
|
#include <Uefi.h>
|
|
#include <Library/FirmwareBootMediaLib.h>
|
|
|
|
/**
|
|
Identifies the firmware boot media type for the current boot.
|
|
|
|
@retval BOOT_MEDIA_TYPE The boot media type. A value of FwBootMediaTypeMax indicates the firmware boot media
|
|
information is unavailable.
|
|
**/
|
|
FW_BOOT_MEDIA_TYPE
|
|
IdentifyFirmwareBootMediaType (
|
|
VOID
|
|
);
|
|
|
|
#endif
|