浏览代码

[efi] Reset root directory when installing EFI_SIMPLE_FILE_SYSTEM_PROTOCOL

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 9 年前
父节点
当前提交
1880691774
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3
    0
      src/interface/efi/efi_file.c

+ 3
- 0
src/interface/efi/efi_file.c 查看文件

614
 	EFI_STATUS efirc;
614
 	EFI_STATUS efirc;
615
 	int rc;
615
 	int rc;
616
 
616
 
617
+	/* Reset root directory state */
618
+	efi_file_root.pos = 0;
619
+
617
 	/* Install the simple file system protocol, block I/O
620
 	/* Install the simple file system protocol, block I/O
618
 	 * protocol, and disk I/O protocol.  We don't have a block
621
 	 * protocol, and disk I/O protocol.  We don't have a block
619
 	 * device, but large parts of the EDK2 codebase make the
622
 	 * device, but large parts of the EDK2 codebase make the

正在加载...
取消
保存