OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
LegacyRegionUnLock.c File Reference
#include <Uefi.h>
#include <IndustryStandard/Pci.h>
#include <Guid/ApplePlatformInfo.h>
#include <Protocol/LegacyRegion.h>
#include <Protocol/LegacyRegion2.h>
#include <Protocol/PciIo.h>
#include <Library/BaseLib.h>
#include <Library/BaseMemoryLib.h>
#include <Library/DebugLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Library/OcMiscLib.h>
#include <Library/OcStringLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>

Go to the source code of this file.

Functions

EFI_STATUS LegacyRegionUnlock (IN UINT32 LegacyAddress, IN UINT32 LegacyLength)
 

Detailed Description

Copyright (C) 2016, The HermitCrabs Lab. 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 LegacyRegionUnLock.c.

Function Documentation

◆ LegacyRegionUnlock()

EFI_STATUS LegacyRegionUnlock ( IN UINT32 LegacyAddress,
IN UINT32 LegacyLength )

Unlock the legacy region specified to enable modification.

Parameters
[in]LegacyAddressThe address of the region to unlock.
[in]LegacyLengthThe size of the region to unlock.
Return values
EFI_SUCCESSThe region was unlocked successfully.

Definition at line 43 of file LegacyRegionUnLock.c.