OpenCore
1.0.4
OpenCore Bootloader
|
#include <Guid/FileInfo.h>
Go to the source code of this file.
Data Structures | |
struct | APPLE_SINGLE_FILE_INFO |
struct | APPLE_SINGLE_FILE_PROTOCOL |
Macros | |
#define | APPLE_SINGLE_FILE_PROTOCOL_GUID |
#define | APPLE_SINGLE_FILE_SIGNATURE 0x78534653U |
#define | APPLE_SINGLE_FILE_VERSION 1U |
#define | APPLE_SINGLE_FILE_DEFAULT_FILESYSTEM_NAME L"Single File System" |
#define | APPLE_SINGLE_FILE_DEFAULT_FILE_NAME L"SomeLonelyFile" |
Typedefs | |
typedef EFI_STATUS(EFIAPI * | APPLE_SINGLE_FILE_CREATE) (IN EFI_HANDLE Handle, OUT APPLE_SINGLE_FILE_INFO *FileInfo OPTIONAL) |
Variables | |
EFI_GUID | gAppleSingleFileProtocolGuid |
Apple Single File protocol.
Copyright (C) 2019, vit9696. 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.
Definition in file AppleSingleFile.h.
#define APPLE_SINGLE_FILE_DEFAULT_FILE_NAME L"SomeLonelyFile" |
Default file name when FileInfo is not provided at creation.
Definition at line 47 of file AppleSingleFile.h.
#define APPLE_SINGLE_FILE_DEFAULT_FILESYSTEM_NAME L"Single File System" |
Default file system name when FileInfo is not provided at creation.
Definition at line 42 of file AppleSingleFile.h.
#define APPLE_SINGLE_FILE_PROTOCOL_GUID |
Apple Single File protocol GUID. 7542A2BB-D260-4CC2-896E-D613CD515069
Definition at line 24 of file AppleSingleFile.h.
#define APPLE_SINGLE_FILE_SIGNATURE 0x78534653U |
Apple single file protocol signature, "SFSx".
Definition at line 31 of file AppleSingleFile.h.
#define APPLE_SINGLE_FILE_VERSION 1U |
Apple single file protocol version. Versions other than 1 take EFI_FILE_INFO as a FileInfo argument.
Definition at line 37 of file AppleSingleFile.h.
typedef EFI_STATUS(EFIAPI * APPLE_SINGLE_FILE_CREATE) (IN EFI_HANDLE Handle, OUT APPLE_SINGLE_FILE_INFO *FileInfo OPTIONAL) |
Create single file system on a block i/o device, usually RAM disk. Single file system may hold at most 1 readable and writeable file.
[in] | Handle | Device handle. |
[out] | FileInfo | File information, optional. |
EFI_NO_MEDIA | No Block I/O media. |
EFI_NOT_FOUND | Missing Block I/O protocol. |
EFI_SUCCESS | Written single file instance succesfully. |
Definition at line 83 of file AppleSingleFile.h.
|
extern |