From 657e361255df2beed01e5ac881a2af35f9ed56a1 Mon Sep 17 00:00:00 2001 From: Qing Huang Date: Fri, 21 Dec 2007 03:27:26 +0000 Subject: [PATCH] Add preparation for FAR release. (based on FatPkg commit 231d94be998ca1c72f23d2ac6cd5238e9afdc886) [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 Acked-by: Mark Doran Acked-by: Laszlo Ersek --- FatPkg/EnhancedFatDxe/Fat.msa | 135 +++++++++++++++++++++++ FatPkg/EnhancedFatDxe/UnicodeCollation.c | 13 +-- FatPkg/FatPkg.nspd | 53 +++++++++ 3 files changed, 189 insertions(+), 12 deletions(-) create mode 100644 FatPkg/EnhancedFatDxe/Fat.msa create mode 100644 FatPkg/FatPkg.nspd diff --git a/FatPkg/EnhancedFatDxe/Fat.msa b/FatPkg/EnhancedFatDxe/Fat.msa new file mode 100644 index 0000000000..cb99a5db99 --- /dev/null +++ b/FatPkg/EnhancedFatDxe/Fat.msa @@ -0,0 +1,135 @@ + + + + Fat + UEFI_DRIVER + 961578FE-B6B7-44c3-AF35-6BC705CD2B1F + 1.0 + Component description file for FAT module. + This UEFI driver detects the FAT file system in the disk. It also produces the Simple File System protocol for the consumer to perform file and directory operations on the disk. + Copyright (c) 2004 - 2007, Intel Corporation + 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. + FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052 + + + IA32 X64 IPF EBC + false + Fat + + + + DebugLib + + + UefiDriverEntryPoint + + + UefiLib + + + BaseLib + + + BaseMemoryLib + + + MemoryAllocationLib + + + UefiBootServicesTableLib + + + UefiRuntimeServicesTableLib + + + + Data.c + Delete.c + Fat.c + Flush.c + FileSpace.c + Info.c + Init.c + Misc.c + Open.c + OpenVolume.c + ReadWrite.c + Fat.h + FatFileSystem.h + ComponentName.c + DirectoryManage.c + Hash.c + FileName.c + DiskCache.c + DirectoryCache.c + UnicodeCollation.c + + + Debug.c + + + + + + + + gEfiBlockIoProtocolGuid + + + gEfiDiskIoProtocolGuid + + + gEfiUnicodeCollationProtocolGuid + + + gEfiUnicodeCollation2ProtocolGuid + + + gEfiSimpleFileSystemProtocolGuid + + + + + 0x0050 0x006c 0x0061 0x0074 0x0066 0x006f 0x0072 0x006d 0x004c 0x0061 0x006e 0x0067 + gEfiGlobalVariableGuid + Variable Name: L"PlatformLang" + + + 0x004c 0x0061 0x006e 0x0067 + gEfiGlobalVariableGuid + Variable Name: L"Lang" + + + + + gEfiGlobalVariableGuid + + + gEfiFileSystemInfoGuid + + + gEfiFileInfoGuid + + + gEfiFileSystemVolumeLabelInfoIdGuid + + + + EFI_SPECIFICATION_VERSION 0x00020000 + EDK_RELEASE_VERSION 0x00020000 + + FatEntryPoint + FatUnload + + + gFatDriverBinding + gFatComponentName + + + \ No newline at end of file diff --git a/FatPkg/EnhancedFatDxe/UnicodeCollation.c b/FatPkg/EnhancedFatDxe/UnicodeCollation.c index d74dc1e697..67f1b7c805 100644 --- a/FatPkg/EnhancedFatDxe/UnicodeCollation.c +++ b/FatPkg/EnhancedFatDxe/UnicodeCollation.c @@ -13,18 +13,7 @@ **/ -#include - -#include -#include - -#include -#include -#include -#include -#include -#include -#include +#include "Fat.h" STATIC EFI_UNICODE_COLLATION_PROTOCOL *mUnicodeCollationInterface = NULL; diff --git a/FatPkg/FatPkg.nspd b/FatPkg/FatPkg.nspd new file mode 100644 index 0000000000..60d7f3fca1 --- /dev/null +++ b/FatPkg/FatPkg.nspd @@ -0,0 +1,53 @@ + + + + FatPkg + 8EA68A2C-99CB-4332-85C6-DD5864EAA674 + 1.0 + Edk FAT Package + FAT 32 Driver + Copyright (c) 2006, Intel Corporation. + 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. + FRAMEWORK_BUILD_PACKAGING_SPECIFICATION 0x00000052 + + + false + false + + + EnhancedFatDxe/Fat.msa + + + + gEfiFatPkgTokenSpaceGuid + c8e92dba-1d92-411f-ae0a-1dbed8f13299 + + + + + + PcdUnicodeCollationSupport + 0x00010001 + gEfiFatPkgTokenSpaceGuid + BOOLEAN + FEATURE_FLAG + TRUE + Support Unicode Collation + + + PcdUnicodeCollationSupport2 + 0x00010002 + gFatPkgTokenSpaceGuid + BOOLEAN + FEATURE_FLAG + TRUE + Support Unicode Collation 2. + + + \ No newline at end of file -- 2.39.2