OpenCore
1.0.4
OpenCore Bootloader
|
#include <Uefi.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Library/DevicePathLib.h>
#include <Library/IoLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/OcDeviceMiscLib.h>
#include <Library/PrintLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <IndustryStandard/Pci23.h>
#include <IndustryStandard/PeImage2.h>
#include <Protocol/Decompress.h>
#include <Protocol/PciIo.h>
#include "HandleParsingMin.h"
Go to the source code of this file.
Functions | |
STATIC EFI_STATUS | ReloadPciRom (IN VOID *RomBar, IN UINTN RomSize, IN CONST CHAR16 *FileName) |
EFI_STATUS | OcReloadOptionRoms (VOID) |
Copyright (c) 2020 Dayo Akanji (sf.net/u/dakanji/profile). Portions Copyright (c) 2020 Joe van Tunen (joevt.nosp@m.@sha.nosp@m.w.ca). Portions Copyright (c) 2004-2008 The Intel Corporation. Copyright (C) 2021, vit9696. All rights reserved.
All rights reserved.
This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
Definition in file ReloadOptionRoms.c.
EFI_STATUS OcReloadOptionRoms | ( | VOID | ) |
Reload Option ROMs.
EFI_SUCCESS | on success. |
Definition at line 203 of file ReloadOptionRoms.c.
STATIC EFI_STATUS ReloadPciRom | ( | IN VOID * | RomBar, |
IN UINTN | RomSize, | ||
IN CONST CHAR16 * | FileName ) |
[in] | RomBar | The Rom Base address. |
[in] | RomSize | The Rom size. |
[in] | FileName | The file name. |
EFI_SUCCESS | The command completed successfully. |
EFI_INVALID_PARAMETER | Command usage error. |
EFI_UNSUPPORTED | Protocols unsupported. |
EFI_OUT_OF_RESOURCES | Out of memory. |
EFI_VOLUME_CORRUPTED | Inconsistent signatures. |
Other | value Unknown error. |
Definition at line 49 of file ReloadOptionRoms.c.