setos

拙OS
Log | Files | Refs | LICENSE

commit 5e3ca3195da872d5ea0eedcc00522943de8af276
parent 82bbf229d8b6d057d4f05975d2e91e721377ce6c
Author: Matsuda Kenji <info@mtkn.jp>
Date:   Thu, 21 Mar 2024 15:55:26 +0900

OpenVolume

Diffstat:
Mloader.c | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/loader.c b/loader.c @@ -77,6 +77,10 @@ open_root(EFI_HANDLE ImageHandle, EFI_FILE_PROTOCOL **root) li->DeviceHandle, &EFI_SIMPLE_FILE_SYSTEM_PROTOCOL_GUID, (VOID **) &fs, ImageHandle, NULL, EFI_OPEN_PROTOCOL_BY_HANDLE_PROTOCOL ); + if (stat != EFI_SUCCESS) { + return stat; + } + stat = fs->OpenVolume(fs, root); return stat; -} -\ No newline at end of file +}