+++ /dev/null
-/*++\r
-\r
-Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials \r
-are licensed and made available under the terms and conditions of the BSD License \r
-which accompanies this distribution. 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
-\r
-Module Name:\r
-\r
- FileInfo.c\r
-\r
-Abstract:\r
-\r
- SimpleFileSystem protocol as defined in the EFI 1.0 specification.\r
-\r
- The SimpleFileSystem protocol is the programatic access to the FAT (12,16,32) \r
- file system specified in EFI 1.0. It can also be used to abstract any \r
- file system other than FAT.\r
-\r
- EFI 1.0 can boot from any valid EFI image contained in a SimpleFileSystem\r
- \r
---*/\r
-\r
-#ifndef _FILE_INFO_H_\r
-#define _FILE_INFO_H_\r
-\r
-#define EFI_FILE_INFO_ID \\r
- { \\r
- 0x9576e92, 0x6d3f, 0x11d2, {0x8e, 0x39, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b} \\r
- }\r
-\r
-typedef struct {\r
- UINT64 Size;\r
- UINT64 FileSize;\r
- UINT64 PhysicalSize;\r
- EFI_TIME CreateTime;\r
- EFI_TIME LastAccessTime;\r
- EFI_TIME ModificationTime;\r
- UINT64 Attribute;\r
- CHAR16 FileName[1];\r
-} EFI_FILE_INFO;\r
-\r
-//\r
-// The FileName field of the EFI_FILE_INFO data structure is variable length.\r
-// Whenever code needs to know the size of the EFI_FILE_INFO data structure, it needs to\r
-// be the size of the data structure without the FileName field. The following macro\r
-// computes this size correctly no matter how big the FileName array is declared.\r
-// This is required to make the EFI_FILE_INFO data structure ANSI compilant.\r
-//\r
-#define SIZE_OF_EFI_FILE_INFO EFI_FIELD_OFFSET (EFI_FILE_INFO, FileName)\r
-\r
-extern EFI_GUID gEfiFileInfoGuid;\r
-\r
-#endif\r