You've already forked slimbootloader
mirror of
https://github.com/Dasharo/slimbootloader.git
synced 2026-03-06 15:26:20 -08:00
FileSystemLib provides generic interfaces to access file system and its files as a abstraction of FatLib/ExtLib. - Added CloseFileSystem If there are opened files in a specific filesystem, those files will be de-allocated in CloseFileSystem. - Added OpenFile/GetFileSize/ReadFile/CloseFile The ReadFile() does not allocate any memory for the file content. The caller of OpenFile() MUST allocate necessary memory before calling ReadFile(). Signed-off-by: Aiden Park <aiden.park@intel.com>
47 lines
1.2 KiB
INI
47 lines
1.2 KiB
INI
## @file
|
|
# File system library class.
|
|
#
|
|
# Copyright (c) 2017 - 2019, 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 = FileSystemLib
|
|
FILE_GUID = 8949AC97-8541-44BA-BD27-8EF5F259EC93
|
|
MODULE_TYPE = BASE
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = FileSystemLib
|
|
|
|
#
|
|
# The following information is for reference only and not required by the build tools.
|
|
#
|
|
# VALID_ARCHITECTURES = IA32 X64 IPF EBC
|
|
#
|
|
|
|
[Guids]
|
|
|
|
|
|
[Sources]
|
|
FileSystemLib.c
|
|
|
|
[Packages]
|
|
MdePkg/MdePkg.dec
|
|
BootloaderCommonPkg/BootloaderCommonPkg.dec
|
|
|
|
[LibraryClasses]
|
|
BaseMemoryLib
|
|
FatLib
|
|
Ext23Lib
|
|
|
|
[Pcd]
|
|
gPlatformCommonLibTokenSpaceGuid.PcdSupportedFileSystemMask
|