summaryrefslogtreecommitdiffstats
path: root/MdePkg
diff options
context:
space:
mode:
authorSuqiang Ren <suqiangx.ren@intel.com>2024-01-22 23:02:36 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-01-23 20:21:15 +0000
commit417ebe6d1d6052b6cf023332da07558363d7fd08 (patch)
tree94711129cf4b7d157b2b74dbf9bdf16d3cf1e1fc /MdePkg
parent2ddae5df31789853040f4c5261bb85e2f010c4a7 (diff)
downloadedk2-417ebe6d1d6052b6cf023332da07558363d7fd08.tar.gz
edk2-417ebe6d1d6052b6cf023332da07558363d7fd08.tar.bz2
edk2-417ebe6d1d6052b6cf023332da07558363d7fd08.zip
MdePkg/Include/Guid: Update the definition of FileName in EFI_FILE_INFO
Add the description of EFI_FILE_INFO FileName[1] field to align with UEFI spec 2.10 Section 13.5.16. Cc: Michael D Kinney <michael.d.kinney@intel.com> Cc: Liming Gao <gaoliming@byosoft.com.cn> Cc: Zhiguang Liu <zhiguang.liu@intel.com> Signed-off-by: Suqiang Ren <suqiangx.ren@intel.com> Reviewed-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to 'MdePkg')
-rw-r--r--MdePkg/Include/Guid/FileInfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/MdePkg/Include/Guid/FileInfo.h b/MdePkg/Include/Guid/FileInfo.h
index 2b7edf36aa..71bb289e12 100644
--- a/MdePkg/Include/Guid/FileInfo.h
+++ b/MdePkg/Include/Guid/FileInfo.h
@@ -47,6 +47,7 @@ typedef struct {
UINT64 Attribute;
///
/// The Null-terminated name of the file.
+ /// For a root directory, the name is an empty string.
///
CHAR16 FileName[1];
} EFI_FILE_INFO;