Revision: 14187
          http://edk2.svn.sourceforge.net/edk2/?rev=14187&view=rev
Author:   oliviermartin
Date:     2013-03-12 00:58:06 +0000 (Tue, 12 Mar 2013)
Log Message:
-----------
ArmPkg/SemihostFs: Added comment in FileRead()

The comment says we cannot list files in the Semihosting FileSystem.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Olivier Martin <[email protected]>

Modified Paths:
--------------
    trunk/edk2/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c

Modified: trunk/edk2/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c
===================================================================
--- trunk/edk2/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c    2013-03-12 
00:57:05 UTC (rev 14186)
+++ trunk/edk2/ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c    2013-03-12 
00:58:06 UTC (rev 14187)
@@ -2,7 +2,7 @@
   Support a Semi Host file system over a debuggers JTAG
 
   Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
-  Portions copyright (c) 2011, 2012, ARM Ltd. All rights reserved.<BR>
+  Portions copyright (c) 2011-2013, ARM Ltd. All rights reserved.<BR>
 
   This program and the accompanying materials
   are licensed and made available under the terms and conditions of the BSD 
License
@@ -291,6 +291,7 @@
   Fcb = SEMIHOST_FCB_FROM_THIS(File);
 
   if (Fcb->IsRoot == TRUE) {
+    // By design, the Semihosting feature does not allow to list files on the 
host machine.
     Status = EFI_UNSUPPORTED;
   } else {
     Status = SemihostFileRead (Fcb->SemihostHandle, BufferSize, Buffer);

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to