]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c
ArmPkg/SemihostFs: Added comment in FileRead()
[mirror_edk2.git] / ArmPkg / Filesystem / SemihostFs / Arm / SemihostFs.c
index 6443a7bf44a7695290525c8136f88dd64048ab9b..b04e866a995f405f131961b86bb8e6e8a9fcd803 100644 (file)
@@ -2,7 +2,7 @@
   Support a Semi Host file system over a debuggers JTAG\r
 \r
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
-  Portions copyright (c) 2011, 2012, ARM Ltd. All rights reserved.<BR>\r
+  Portions copyright (c) 2011-2013, ARM Ltd. All rights reserved.<BR>\r
 \r
   This program and the accompanying materials\r
   are licensed and made available under the terms and conditions of the BSD License\r
@@ -291,6 +291,7 @@ FileRead (
   Fcb = SEMIHOST_FCB_FROM_THIS(File);\r
 \r
   if (Fcb->IsRoot == TRUE) {\r
+    // By design, the Semihosting feature does not allow to list files on the host machine.\r
     Status = EFI_UNSUPPORTED;\r
   } else {\r
     Status = SemihostFileRead (Fcb->SemihostHandle, BufferSize, Buffer);\r