[PATCH 0/2] efi_loader: provide file attributes in directory

Heinrich Schuchardt xypron.glpk at gmx.de
Sat Jun 12 07:48:04 CEST 2021

When executing EFI_FILE_PROTOCOL.Read() for a directory entry provide the
FAT file attributes and file creation, modification, and access date.

The effect can be seen in the UEFI shell when executing the dir command.

Heinrich Schuchardt (2):
  fs: fat: add file attributes to struct fs_dirent
  efi_loader: provide file attributes in EFI_FILE_PROTOCOL.Read()

 fs/fat/fat.c              | 32 +++++++++++++++++++++++++++++++-
 include/fs.h              | 22 ++++++++++++++++++----
 lib/efi_loader/efi_file.c | 15 +++++++++++++++
 3 files changed, 64 insertions(+), 5 deletions(-)


More information about the U-Boot mailing list