FatPkg: Add FAT PEIM

Signed-off-by: jljusten
Reviewed-by: mdkinney

(based on FatPkg commit bead7f219277e063ed28589de8ddd01cf180c1a8)

[jordan.l.justen@intel.com: Use script to relicense to 2-clause BSD]
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Acked-by: Mark Doran <mark.doran@intel.com>
Acked-by: Laszlo Ersek <lersek@redhat.com>
This commit is contained in:
Jordan Justen
2011-07-01 00:37:55 +00:00
parent 43ba790742
commit 2f4dfa84ac
9 changed files with 2757 additions and 0 deletions

74
FatPkg/FatPei/FatPei.inf Normal file
View File

@@ -0,0 +1,74 @@
## @file
# Lite Fat driver only used in Pei Phase.
#
# Copyright (c) 2006 - 2010, 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 = FatPei
FILE_GUID = 5B60CCFD-1011-4BCF-B7D1-BB99CA96A603
MODULE_TYPE = PEIM
VERSION_STRING = 1.0
ENTRY_POINT = FatPeimEntry
#
# The following information is for reference only and not required by the build tools.
#
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
#
[Sources]
Part.c
FatLiteApi.c
FatLiteLib.c
FatLiteAccess.c
FatLiteApi.h
FatLitePeim.h
FatLiteFmt.h
[Packages]
MdePkg/MdePkg.dec
MdeModulePkg/MdeModulePkg.dec
[LibraryClasses]
PcdLib
BaseMemoryLib
PeimEntryPoint
BaseLib
DebugLib
PeiServicesTablePointerLib
PeiServicesLib
[Guids]
gRecoveryOnFatUsbDiskGuid # ALWAYS_CONSUMED
gRecoveryOnFatIdeDiskGuid # ALWAYS_CONSUMED
gRecoveryOnFatFloppyDiskGuid # ALWAYS_CONSUMED
[Ppis]
gEfiPeiVirtualBlockIoPpiGuid # PPI_NOTIFY SOMETIMES_CONSUMED
gEfiPeiDeviceRecoveryModulePpiGuid # SOMETIMES_PRODUCED
[FeaturePcd]
gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport ## CONSUMES
[Depex]
gEfiPeiMemoryDiscoveredPpiGuid AND gEfiPeiBootInRecoveryModePpiGuid