OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
LegacyRegionLock.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/UefiRuntimeServicesTableLib.h>
#include <Library/OcMiscLib.h>
#include <Library/OcStringLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/UefiLib.h>

Go to the source code of this file.

Functions

EFI_STATUS LegacyRegionLock (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 LegacyRegionLock.c.

Function Documentation

◆ LegacyRegionLock()

EFI_STATUS LegacyRegionLock ( IN UINT32 LegacyAddress,
IN UINT32 LegacyLength )

Lock the legacy region specified to enable modification.

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

Definition at line 43 of file LegacyRegionLock.c.