OpenCore
1.0.4
OpenCore Bootloader
|
#include "NetworkBootInternal.h"
Go to the source code of this file.
Functions | |
STATIC EFI_DEVICE_PATH_PROTOCOL * | BmExpandMediaDevicePath (IN EFI_DEVICE_PATH_PROTOCOL *DevicePath, IN EFI_DEVICE_PATH_PROTOCOL *FullPath) |
STATIC BOOLEAN | BmMatchHttpBootDevicePath (IN EFI_DEVICE_PATH_PROTOCOL *Left, IN EFI_DEVICE_PATH_PROTOCOL *Right) |
STATIC EFI_DEVICE_PATH_PROTOCOL * | BmExpandNetworkFileSystem (IN EFI_HANDLE LoadFileHandle, OUT EFI_HANDLE *RamDiskHandle) |
EFI_DEVICE_PATH_PROTOCOL * | BmGetRamDiskDevicePath (IN EFI_DEVICE_PATH_PROTOCOL *FilePath) |
STATIC VOID * | BmGetRamDiskMemoryInfo (IN EFI_DEVICE_PATH_PROTOCOL *RamDiskDevicePath, OUT UINTN *RamDiskSizeInPages) |
VOID | BmDestroyRamDisk (IN EFI_DEVICE_PATH_PROTOCOL *RamDiskDevicePath) |
STATIC EFI_DEVICE_PATH_PROTOCOL * | BmExpandLoadFile (IN EFI_HANDLE LoadFileHandle, IN EFI_DEVICE_PATH_PROTOCOL *FilePath, OUT VOID **Data, OUT UINT32 *DataSize) |
EFI_DEVICE_PATH_PROTOCOL * | BmExpandLoadFiles (IN EFI_DEVICE_PATH_PROTOCOL *FilePath, OUT VOID **Data, OUT UINT32 *DataSize, IN BOOLEAN ValidateHttp) |
Variables | |
EFI_RAM_DISK_PROTOCOL * | mRamDisk = NULL |
Library functions which relate to booting.
Copyright (c) 2019, NVIDIA CORPORATION. All rights reserved. Copyright (c) 2011 - 2021, Intel Corporation. All rights reserved.
(C) Copyright 2015-2021 Hewlett Packard Enterprise Development LP
Copyright (C) 2024, Mike Beaton. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
Definition in file BmBoot.c.
VOID BmDestroyRamDisk | ( | IN EFI_DEVICE_PATH_PROTOCOL * | RamDiskDevicePath | ) |
STATIC EFI_DEVICE_PATH_PROTOCOL * BmExpandLoadFile | ( | IN EFI_HANDLE | LoadFileHandle, |
IN EFI_DEVICE_PATH_PROTOCOL * | FilePath, | ||
OUT VOID ** | Data, | ||
OUT UINT32 * | DataSize ) |
EFI_DEVICE_PATH_PROTOCOL * BmExpandLoadFiles | ( | IN EFI_DEVICE_PATH_PROTOCOL * | FilePath, |
OUT VOID ** | Data, | ||
OUT UINT32 * | DataSize, | ||
IN BOOLEAN | ValidateHttp ) |
Return the full device path pointing to the load option.
FilePath may:
FilePath | The media device path pointing to a LoadFile instance. |
< Sort out cramped spacing
STATIC EFI_DEVICE_PATH_PROTOCOL * BmExpandMediaDevicePath | ( | IN EFI_DEVICE_PATH_PROTOCOL * | DevicePath, |
IN EFI_DEVICE_PATH_PROTOCOL * | FullPath ) |
Expand the media device path which points to a BlockIo or SimpleFileSystem instance by appending EFI_REMOVABLE_MEDIA_FILE_NAME.
DevicePath | The media device path pointing to a BlockIo or SimpleFileSystem instance. |
FullPath | The full path returned by the routine in last call. Set to NULL in first call. |
STATIC EFI_DEVICE_PATH_PROTOCOL * BmExpandNetworkFileSystem | ( | IN EFI_HANDLE | LoadFileHandle, |
OUT EFI_HANDLE * | RamDiskHandle ) |
Get the file buffer from the file system produced by Load File instance.
LoadFileHandle | The handle of LoadFile instance. |
RamDiskHandle | Return the RAM Disk handle. |
EFI_DEVICE_PATH_PROTOCOL * BmGetRamDiskDevicePath | ( | IN EFI_DEVICE_PATH_PROTOCOL * | FilePath | ) |
STATIC VOID * BmGetRamDiskMemoryInfo | ( | IN EFI_DEVICE_PATH_PROTOCOL * | RamDiskDevicePath, |
OUT UINTN * | RamDiskSizeInPages ) |
STATIC BOOLEAN BmMatchHttpBootDevicePath | ( | IN EFI_DEVICE_PATH_PROTOCOL * | Left, |
IN EFI_DEVICE_PATH_PROTOCOL * | Right ) |