--- /dev/null
+/** @file\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
+ Copyright (c) 2006, Intel Corporation \r
+ All rights reserved. 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: FileInfo.c\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
--- /dev/null
+/** @file\r
+ FileSystemInfo protocol as defined in the EFI 1.0 specification.\r
+\r
+ Copyright (c) 2006, Intel Corporation \r
+ All rights reserved. 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: FileSystemInfo.h\r
+\r
+**/\r
+\r
+#ifndef __FILE_SYSTEM_INFO_H__\r
+#define __FILE_SYSTEM_INFO_H__\r
+\r
+#define EFI_FILE_SYSTEM_INFO_ID_GUID \\r
+ { \\r
+ 0x9576e93, 0x6d3f, 0x11d2, {0x8e, 0x39, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b } \\r
+ }\r
+\r
+typedef struct {\r
+ UINT64 Size;\r
+ BOOLEAN ReadOnly;\r
+ UINT64 VolumeSize;\r
+ UINT64 FreeSpace;\r
+ UINT32 BlockSize;\r
+ CHAR16 VolumeLabel[1];\r
+} EFI_FILE_SYSTEM_INFO;\r
+\r
+//\r
+// The VolumeLabel field of the EFI_FILE_SYSTEM_INFO data structure is variable length.\r
+// Whenever code needs to know the size of the EFI_FILE_SYSTEM_INFO data structure, it needs\r
+// to be the size of the data structure without the VolumeLable field. The following macro\r
+// computes this size correctly no matter how big the VolumeLable array is declared.\r
+// This is required to make the EFI_FILE_SYSTEM_INFO data structure ANSI compilant.\r
+//\r
+#define SIZE_OF_EFI_FILE_SYSTEM_INFO EFI_FIELD_OFFSET (EFI_FILE_SYSTEM_INFO, VolumeLabel)\r
+\r
+extern EFI_GUID gEfiFileSystemInfoGuid;\r
+\r
+#endif\r
--- /dev/null
+/** @file\r
+ FileSystemVolumeLabelInfo protocol as defined in the EFI 1.0 specification.\r
+\r
+ Copyright (c) 2006, Intel Corporation \r
+ All rights reserved. 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: FileSystemVolumeLabelInfo.h\r
+\r
+**/\r
+\r
+#ifndef __FILE_SYSTEM_VOLUME_LABEL_INFO_H__\r
+#define __FILE_SYSTEM_VOLUME_LABEL_INFO_H__\r
+\r
+#define EFI_FILE_SYSTEM_VOLUME_LABEL_INFO_ID_GUID \\r
+ { \\r
+ 0xDB47D7D3, 0xFE81, 0x11d3, {0x9A, 0x35, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D } \\r
+ }\r
+\r
+//\r
+// Protocol Name defined in spec.\r
+//\r
+#define EFI_FILE_SYSTEM_VOLUME_LABEL_ID \\r
+ EFI_FILE_SYSTEM_VOLUME_LABEL_INFO_ID_GUID\r
+\r
+typedef struct {\r
+ CHAR16 VolumeLabel[1];\r
+} EFI_FILE_SYSTEM_VOLUME_LABEL_INFO;\r
+\r
+typedef EFI_FILE_SYSTEM_VOLUME_LABEL_INFO EFI_FILE_SYSTEM_VOLUME_LABEL;\r
+\r
+#define SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL_INFO \\r
+ EFI_FIELD_OFFSET (EFI_FILE_SYSTEM_VOLUME_LABEL_INFO, VolumeLabel)\r
+\r
+extern EFI_GUID gEfiFileSystemVolumeLabelInfoIdGuid;\r
+\r
+#endif\r
+++ /dev/null
-/** @file\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
- Copyright (c) 2006, Intel Corporation \r
- All rights reserved. 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: FileInfo.c\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
+++ /dev/null
-/** @file\r
- FileSystemInfo protocol as defined in the EFI 1.0 specification.\r
-\r
- Copyright (c) 2006, Intel Corporation \r
- All rights reserved. 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: FileSystemInfo.h\r
-\r
-**/\r
-\r
-#ifndef __FILE_SYSTEM_INFO_H__\r
-#define __FILE_SYSTEM_INFO_H__\r
-\r
-#define EFI_FILE_SYSTEM_INFO_ID_GUID \\r
- { \\r
- 0x9576e93, 0x6d3f, 0x11d2, {0x8e, 0x39, 0x0, 0xa0, 0xc9, 0x69, 0x72, 0x3b } \\r
- }\r
-\r
-typedef struct {\r
- UINT64 Size;\r
- BOOLEAN ReadOnly;\r
- UINT64 VolumeSize;\r
- UINT64 FreeSpace;\r
- UINT32 BlockSize;\r
- CHAR16 VolumeLabel[1];\r
-} EFI_FILE_SYSTEM_INFO;\r
-\r
-//\r
-// The VolumeLabel field of the EFI_FILE_SYSTEM_INFO data structure is variable length.\r
-// Whenever code needs to know the size of the EFI_FILE_SYSTEM_INFO data structure, it needs\r
-// to be the size of the data structure without the VolumeLable field. The following macro\r
-// computes this size correctly no matter how big the VolumeLable array is declared.\r
-// This is required to make the EFI_FILE_SYSTEM_INFO data structure ANSI compilant.\r
-//\r
-#define SIZE_OF_EFI_FILE_SYSTEM_INFO EFI_FIELD_OFFSET (EFI_FILE_SYSTEM_INFO, VolumeLabel)\r
-\r
-extern EFI_GUID gEfiFileSystemInfoGuid;\r
-\r
-#endif\r
+++ /dev/null
-/** @file\r
- FileSystemVolumeLabelInfo protocol as defined in the EFI 1.0 specification.\r
-\r
- Copyright (c) 2006, Intel Corporation \r
- All rights reserved. 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: FileSystemVolumeLabelInfo.h\r
-\r
-**/\r
-\r
-#ifndef __FILE_SYSTEM_VOLUME_LABEL_INFO_H__\r
-#define __FILE_SYSTEM_VOLUME_LABEL_INFO_H__\r
-\r
-#define EFI_FILE_SYSTEM_VOLUME_LABEL_INFO_ID_GUID \\r
- { \\r
- 0xDB47D7D3, 0xFE81, 0x11d3, {0x9A, 0x35, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D } \\r
- }\r
-\r
-//\r
-// Protocol Name defined in spec.\r
-//\r
-#define EFI_FILE_SYSTEM_VOLUME_LABEL_ID \\r
- EFI_FILE_SYSTEM_VOLUME_LABEL_INFO_ID_GUID\r
-\r
-typedef struct {\r
- CHAR16 VolumeLabel[1];\r
-} EFI_FILE_SYSTEM_VOLUME_LABEL_INFO;\r
-\r
-typedef EFI_FILE_SYSTEM_VOLUME_LABEL_INFO EFI_FILE_SYSTEM_VOLUME_LABEL;\r
-\r
-#define SIZE_OF_EFI_FILE_SYSTEM_VOLUME_LABEL_INFO \\r
- EFI_FIELD_OFFSET (EFI_FILE_SYSTEM_VOLUME_LABEL_INFO, VolumeLabel)\r
-\r
-extern EFI_GUID gEfiFileSystemVolumeLabelInfoIdGuid;\r
-\r
-#endif\r
#include <Protocol/DriverDiagnostics.h>\r
#include <Protocol/Ebc.h>\r
#include <Protocol/EfiNetworkInterfaceIdentifier.h>\r
-#include <Protocol/FileInfo.h>\r
-#include <Protocol/FileSystemInfo.h>\r
-#include <Protocol/FileSystemVolumeLabelInfo.h>\r
#include <Protocol/PciIo.h>\r
#include <Protocol/PciRootBridgeIo.h>\r
#include <Protocol/PlatformDriverOverride.h>\r
#include <Guid/PcAnsi.h>\r
#include <Guid/SmBios.h>\r
#include <Guid/SalSystemTable.h>\r
-\r
+#include <Guid/FileInfo.h>\r
+#include <Guid/FileSystemInfo.h>\r
+#include <Guid/FileSystemVolumeLabelInfo.h>\r
\r
#if (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
//\r
<IncludeHeader>Include/Guid/FirmwareFileSystem.h</IncludeHeader>\r
<HelpText/>\r
</IndustryStdHeader>\r
+ <IndustryStdHeader Name="FileInfo">\r
+ <IncludeHeader>Include/Guid/FileInfo.h</IncludeHeader>\r
+ <HelpText/>\r
+ </IndustryStdHeader>\r
+ <IndustryStdHeader Name="FileSystemInfo">\r
+ <IncludeHeader>Include/Guid/FileSystemInfo.h</IncludeHeader>\r
+ <HelpText/>\r
+ </IndustryStdHeader>\r
+ <IndustryStdHeader Name="FileSystemVolumeLabelInfo">\r
+ <IncludeHeader>Include/Guid/FileSystemVolumeLabelInfo.h</IncludeHeader>\r
+ <HelpText/>\r
+ </IndustryStdHeader>\r
<IndustryStdHeader Name="FrameworkDevicePath">\r
<IncludeHeader>Include/Guid/FrameworkDevicePath.h</IncludeHeader>\r
<HelpText/>\r
<IncludeHeader>Include/Protocol/EfiNetworkInterfaceIdentifier.h</IncludeHeader>\r
<HelpText/>\r
</IndustryStdHeader>\r
- <IndustryStdHeader Name="FileInfo">\r
- <IncludeHeader>Include/Protocol/FileInfo.h</IncludeHeader>\r
- <HelpText/>\r
- </IndustryStdHeader>\r
- <IndustryStdHeader Name="FileSystemInfo">\r
- <IncludeHeader>Include/Protocol/FileSystemInfo.h</IncludeHeader>\r
- <HelpText/>\r
- </IndustryStdHeader>\r
- <IndustryStdHeader Name="FileSystemVolumeLabelInfo">\r
- <IncludeHeader>Include/Protocol/FileSystemVolumeLabelInfo.h</IncludeHeader>\r
- <HelpText/>\r
- </IndustryStdHeader>\r
<IndustryStdHeader Name="FirmwareVolume">\r
<IncludeHeader>Include/Protocol/FirmwareVolume.h</IncludeHeader>\r
<HelpText/>\r