setos

拙OS
Log | Files | Refs | LICENSE

commit ac9795006358408d2b8048c5a10884d56758e5dd
parent 93f9bd60bdca298977c9d5799245aca48dfd881f
Author: Matsuda Kenji <info@mtkn.jp>
Date:   Tue, 26 Mar 2024 10:02:37 +0900

add EFI_FILE_GET_INFO

Diffstat:
Muefi.h | 12+++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/uefi.h b/uefi.h @@ -141,6 +141,14 @@ EFI_STATUS (EFIAPI *EFI_FILE_WRITE) ( IN VOID *Buffer ); +typedef +EFI_STATUS (EFIAPI *EFI_FILE_GET_INFO) ( + IN EFI_FILE_PROTOCOL *This, + IN EFI_GUID *InformationType, + IN OUT UINTN *BufferSize, + OUT VOID *Buffer + ); + struct _EFI_FILE_PROTOCOL { UINT64 Revision; EFI_FILE_OPEN Open; @@ -148,7 +156,9 @@ struct _EFI_FILE_PROTOCOL { EFI_FILE_DELETE Delete; EFI_FILE_READ Read; EFI_FILE_WRITE Write; - void *dummy[9]; + void *dummy[2]; + EFI_FILE_GET_INFO GetInfo; + void *dummy1[6]; }; typedef struct _EFI_LOADED_IMAGE_PROTOCOL EFI_LOADED_IMAGE_PROTOCOL;