2019-09-03 11:58:42 +02:00
|
|
|
## @file
|
|
|
|
# Produces the Legacy Region 2 Protocol.
|
|
|
|
#
|
|
|
|
# This generic implementation of the Legacy Region 2 Protocol does not actually
|
|
|
|
# perform any lock/unlock operations. This module may be used on platforms
|
|
|
|
# that do not provide HW locking of the legacy memory regions. It can also
|
|
|
|
# be used as a template driver for implementing the Legacy Region 2 Protocol on
|
|
|
|
# a platform that does support HW locking of the legacy memory regions.
|
|
|
|
#
|
|
|
|
# Note: This module does not fully comply with PI Specification of Legacy Region 2
|
|
|
|
# Protocol. For Lock/UnLock/Decode, EFI_SUCCESS is returned although the region's
|
|
|
|
# attributes were not actually modified.
|
|
|
|
#
|
|
|
|
# Copyright (c) 2009 - 2011, Intel Corporation. All rights reserved.<BR>
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
##
|
|
|
|
|
|
|
|
[Defines]
|
|
|
|
INF_VERSION = 0x00010005
|
|
|
|
BASE_NAME = LegacyRegion2Dxe
|
|
|
|
FILE_GUID = EC2BEECA-E84A-445B-869B-F7A73C96F58A
|
|
|
|
MODULE_TYPE = DXE_DRIVER
|
|
|
|
VERSION_STRING = 1.0
|
|
|
|
ENTRY_POINT = LegacyRegion2Install
|
|
|
|
|
|
|
|
#
|
|
|
|
# The following information is for reference only and not required by the build tools.
|
|
|
|
#
|
|
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
|
|
|
#
|
|
|
|
|
|
|
|
[Sources]
|
|
|
|
LegacyRegion2.c
|
|
|
|
LegacyRegion2.h
|
|
|
|
|
|
|
|
[Packages]
|
|
|
|
MdePkg/MdePkg.dec
|
|
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
|
|
IntelFrameworkPkg/IntelFrameworkPkg.dec
|
2019-09-03 14:19:03 +02:00
|
|
|
CloverPkg.dec
|
2019-09-03 11:58:42 +02:00
|
|
|
|
|
|
|
[LibraryClasses]
|
|
|
|
UefiDriverEntryPoint
|
|
|
|
DebugLib
|
|
|
|
UefiBootServicesTableLib
|
|
|
|
MemLogLib
|
|
|
|
PciLib
|
|
|
|
|
|
|
|
[Protocols]
|
|
|
|
gEfiLegacyRegionProtocolGuid ## CHECKS
|
|
|
|
gEfiLegacyRegion2ProtocolGuid ## PRODUCES
|
|
|
|
|
|
|
|
[Depex]
|
|
|
|
TRUE
|