OpenCore
1.0.4
OpenCore Bootloader
|
#include <PiDxe.h>
#include <Guid/EventGroup.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/DxeServicesTableLib.h>
#include <Library/IoLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/OcDeviceMiscLib.h>
#include <Library/UefiBootServicesTableLib.h>
Go to the source code of this file.
Functions | |
STATIC EFI_STATUS EFIAPI | OcCreateEventEx (IN UINT32 Type, IN EFI_TPL NotifyTpl, IN EFI_EVENT_NOTIFY NotifyFunction OPTIONAL, IN CONST VOID *NotifyContext OPTIONAL, IN CONST EFI_GUID *EventGroup OPTIONAL, OUT EFI_EVENT *Event) |
EFI_STATUS | OcForgeUefiSupport (IN BOOLEAN Forge, IN BOOLEAN Trash) |
Copyright (c) 2020, joevt. All rights reserved. Copyright (C) 2021-2023, vit9696, mikebeaton. 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 ForgeUefi.c.
STATIC EFI_STATUS EFIAPI OcCreateEventEx | ( | IN UINT32 | Type, |
IN EFI_TPL | NotifyTpl, | ||
IN EFI_EVENT_NOTIFY NotifyFunction | OPTIONAL, | ||
IN CONST VOID *NotifyContext | OPTIONAL, | ||
IN CONST EFI_GUID *EventGroup | OPTIONAL, | ||
OUT EFI_EVENT * | Event ) |
Definition at line 32 of file ForgeUefi.c.
EFI_STATUS OcForgeUefiSupport | ( | IN BOOLEAN | Forge, |
IN BOOLEAN | Trash ) |
Upgrade UEFI version to 2.x.
[in] | Forge | If TRUE forge, else just report status. |
[in] | Trash | If TRUE trash gBS->CreateEventEx directly, else reallocate gBS. Reallocate strategy will only affect current image and any images it loads. Trash strategy should affect all images. |
EFI_SUCCESS | on success. |
Definition at line 81 of file ForgeUefi.c.