summaryrefslogtreecommitdiff
path: root/Core/Protocol/FileInfo.h
diff options
context:
space:
mode:
Diffstat (limited to 'Core/Protocol/FileInfo.h')
-rw-r--r--Core/Protocol/FileInfo.h36
1 files changed, 36 insertions, 0 deletions
diff --git a/Core/Protocol/FileInfo.h b/Core/Protocol/FileInfo.h
new file mode 100644
index 0000000..cff5fc7
--- /dev/null
+++ b/Core/Protocol/FileInfo.h
@@ -0,0 +1,36 @@
+/*++
+
+Copyright (c) 2004, Intel Corporation
+All rights reserved. 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.
+
+Module Name:
+
+ FileInfo.c
+
+Abstract:
+
+ SimpleFileSystem protocol as defined in the EFI 1.0 specification.
+
+ The SimpleFileSystem protocol is the programatic access to the FAT (12,16,32)
+ file system specified in EFI 1.0. It can also be used to abstract any
+ file system other than FAT.
+
+ EFI 1.0 can boot from any valid EFI image contained in a SimpleFileSystem
+
+--*/
+
+#ifndef _FILE_INFO_H_
+#define _FILE_INFO_H_
+#include <Protocol/SimpleFileSystem.h>
+
+#define SIZE_OF_EFI_FILE_INFO EFI_FIELD_OFFSET (EFI_FILE_INFO, FileName)
+
+GUID_VARIABLE_DECLARATION(gEfiFileInfoGuid,EFI_FILE_INFO_ID);
+
+#endif