xref: /haiku/headers/private/kernel/platform/efi/protocol/simple-file-system.h (revision 1deede7388b04dbeec5af85cae7164735ea9e70d)
1 // Copyright 2016 The Fuchsia Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 #pragma once
6 
7 #include <efi/types.h>
8 #include <efi/protocol/file.h>
9 
10 #define EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_GUID \
11     {0x0964e5b22, 0x6459, 0x11d2, {0x8e, 0x39, 0x00, 0xa0, 0xc9, 0x69, 0x72, 0x3b}}
12 extern efi_guid SimpleFileSystemProtocol;
13 
14 #define EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_REVISION 0x00010000
15 
16 typedef struct efi_simple_file_system_protocol {
17     uint64_t Revision;
18 
19     efi_status (*OpenVolume) (struct efi_simple_file_system_protocol* self,
20                               efi_file_protocol** root) EFIAPI;
21 } efi_simple_file_system_protocol;
22