/** @file\r
SimpleFileSystem protocol as defined in the UEFI 2.0 specification.\r
\r
- The SimpleFileSystem protocol is the programmatic access to the FAT (12,16,32) \r
- file system specified in UEFI 2.0. It can also be used to abstract a file \r
+ The SimpleFileSystem protocol is the programmatic access to the FAT (12,16,32)\r
+ file system specified in UEFI 2.0. It can also be used to abstract a file\r
system other than FAT.\r
\r
UEFI 2.0 can boot from any valid EFI image contained in a SimpleFileSystem.\r
\r
-Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials are licensed and made available under \r
-the terms and conditions of the BSD License that accompanies this distribution. \r
-The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php. \r
- \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
\r
///\r
/// Protocol GUID name defined in EFI1.1.\r
-/// \r
+///\r
#define SIMPLE_FILE_SYSTEM_PROTOCOL EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_GUID\r
\r
///\r
/// Protocol name defined in EFI1.1.\r
-/// \r
+///\r
typedef EFI_SIMPLE_FILE_SYSTEM_PROTOCOL EFI_FILE_IO_INTERFACE;\r
typedef EFI_FILE_PROTOCOL EFI_FILE;\r
\r
\r
///\r
/// Revision defined in EFI1.1\r
-/// \r
+///\r
#define EFI_FILE_IO_INTERFACE_REVISION EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_REVISION\r
\r
struct _EFI_SIMPLE_FILE_SYSTEM_PROTOCOL {\r
and "..".\r
@param OpenMode The mode to open the file. The only valid combinations that the\r
file may be opened with are: Read, Read/Write, or Create/Read/Write.\r
- @param Attributes Only valid for EFI_FILE_MODE_CREATE, in which case these are the \r
+ @param Attributes Only valid for EFI_FILE_MODE_CREATE, in which case these are the\r
attribute bits for the newly created file.\r
\r
@retval EFI_SUCCESS The file was opened.\r
/**\r
Closes a specified file handle.\r
\r
- @param This A pointer to the EFI_FILE_PROTOCOL instance that is the file \r
+ @param This A pointer to the EFI_FILE_PROTOCOL instance that is the file\r
handle to close.\r
\r
@retval EFI_SUCCESS The file was closed.\r
/**\r
Flushes all modified data associated with a file to a device.\r
\r
- @param This A pointer to the EFI_FILE_PROTOCOL instance that is the file \r
+ @param This A pointer to the EFI_FILE_PROTOCOL instance that is the file\r
handle to flush.\r
\r
@retval EFI_SUCCESS The data was flushed.\r
and "..".\r
@param OpenMode The mode to open the file. The only valid combinations that the\r
file may be opened with are: Read, Read/Write, or Create/Read/Write.\r
- @param Attributes Only valid for EFI_FILE_MODE_CREATE, in which case these are the \r
+ @param Attributes Only valid for EFI_FILE_MODE_CREATE, in which case these are the\r
attribute bits for the newly created file.\r
@param Token A pointer to the token associated with the transaction.\r
\r
EFI_STATUS\r
(EFIAPI *EFI_FILE_WRITE_EX) (\r
IN EFI_FILE_PROTOCOL *This,\r
- IN OUT EFI_FILE_IO_TOKEN *Token \r
+ IN OUT EFI_FILE_IO_TOKEN *Token\r
);\r
\r
/**\r
Flushes all modified data associated with a file to a device.\r
\r
- @param This A pointer to the EFI_FILE_PROTOCOL instance that is the file \r
+ @param This A pointer to the EFI_FILE_PROTOCOL instance that is the file\r
handle to flush.\r
@param Token A pointer to the token associated with the transaction.\r
\r
\r
//\r
// Revision defined in EFI1.1.\r
-// \r
+//\r
#define EFI_FILE_REVISION EFI_FILE_PROTOCOL_REVISION\r
\r
///\r
/// The EFI_FILE_PROTOCOL provides file IO access to supported file systems.\r
-/// An EFI_FILE_PROTOCOL provides access to a file's or directory's contents, \r
-/// and is also a reference to a location in the directory tree of the file system \r
-/// in which the file resides. With any given file handle, other files may be opened \r
+/// An EFI_FILE_PROTOCOL provides access to a file's or directory's contents,\r
+/// and is also a reference to a location in the directory tree of the file system\r
+/// in which the file resides. With any given file handle, other files may be opened\r
/// relative to this file's location, yielding new file handles.\r
///\r
struct _EFI_FILE_PROTOCOL {\r
///\r
- /// The version of the EFI_FILE_PROTOCOL interface. The version specified \r
+ /// The version of the EFI_FILE_PROTOCOL interface. The version specified\r
/// by this specification is EFI_FILE_PROTOCOL_LATEST_REVISION.\r
/// Future versions are required to be backward compatible to version 1.0.\r
///\r