]> git.proxmox.com Git - mirror_edk2.git/blobdiff - ArmPkg/Filesystem/SemihostFs/Arm/SemihostFs.c
ARM Packages: Removed trailing spaces
[mirror_edk2.git] / ArmPkg / Filesystem / SemihostFs / Arm / SemihostFs.c
index ede23ef2edc58065427d33cc8e51a08266284f5f..3d6e72aa5a7ff5a3b7304d6ac99e0b30ef5308f4 100644 (file)
@@ -21,7 +21,7 @@
 #include <Guid/FileSystemVolumeLabelInfo.h>\r
 \r
 #include <Library/BaseLib.h>\r
-#include <Library/BaseMemoryLib.h> \r
+#include <Library/BaseMemoryLib.h>\r
 #include <Library/DebugLib.h>\r
 #include <Library/MemoryAllocationLib.h>\r
 #include <Library/SemihostLib.h>\r
@@ -129,7 +129,7 @@ VolumeOpen (
   )\r
 {\r
   SEMIHOST_FCB *RootFcb = NULL;\r
-  \r
+\r
   if (Root == NULL) {\r
     return EFI_INVALID_PARAMETER;\r
   }\r
@@ -138,7 +138,7 @@ VolumeOpen (
   if (RootFcb == NULL) {\r
     return EFI_OUT_OF_RESOURCES;\r
   }\r
-  \r
+\r
   RootFcb->IsRoot = TRUE;\r
   RootFcb->Info.Attribute = EFI_FILE_READ_ONLY | EFI_FILE_DIRECTORY;\r
 \r
@@ -212,7 +212,7 @@ FileOpen (
     if (EFI_ERROR(Status)) {\r
       return Status;\r
     }\r
-    \r
+\r
     IsRoot = FALSE;\r
   }\r
 \r
@@ -267,7 +267,7 @@ FileClose (
       FreeFCB (Fcb);\r
     }\r
   }\r
-  \r
+\r
   return Status;\r
 }\r
 \r
@@ -357,7 +357,7 @@ FileWrite (
     *BufferSize -= WriteSize;\r
     Fcb->Position += *BufferSize;\r
   }\r
-  \r
+\r
   return Status;\r
 }\r
 \r
@@ -368,7 +368,7 @@ FileGetPosition (
   )\r
 {\r
   SEMIHOST_FCB *Fcb = NULL;\r
-    \r
+\r
   if (Position == NULL) {\r
     return EFI_INVALID_PARAMETER;\r
   }\r
@@ -447,11 +447,11 @@ GetFileInfo (
     Info->FileName[0]  = L'\0';\r
   } else {\r
     for (Index = 0; Index < NameSize; Index++) {\r
-      Info->FileName[Index] = Fcb->FileName[Index];            \r
+      Info->FileName[Index] = Fcb->FileName[Index];\r
     }\r
   }\r
 \r
-  *BufferSize = ResultSize;    \r
+  *BufferSize = ResultSize;\r
 \r
   return EFI_SUCCESS;\r
 }\r
@@ -467,11 +467,11 @@ GetFilesystemInfo (
   EFI_FILE_SYSTEM_INFO    *Info = NULL;\r
   EFI_STATUS              Status;\r
   UINTN                   ResultSize = SIZE_OF_EFI_FILE_SYSTEM_INFO + StrSize (mSemihostFsLabel);\r
-    \r
+\r
   if (*BufferSize >= ResultSize) {\r
     ZeroMem (Buffer, ResultSize);\r
     Status = EFI_SUCCESS;\r
-        \r
+\r
     Info = Buffer;\r
 \r
     Info->Size       = ResultSize;\r
@@ -485,7 +485,7 @@ GetFilesystemInfo (
     Status = EFI_BUFFER_TOO_SMALL;\r
   }\r
 \r
-  *BufferSize = ResultSize;    \r
+  *BufferSize = ResultSize;\r
   return Status;\r
 }\r
 \r
@@ -500,9 +500,9 @@ FileGetInfo (
   SEMIHOST_FCB *Fcb;\r
   EFI_STATUS   Status;\r
   UINTN        ResultSize;\r
-  \r
+\r
   Fcb = SEMIHOST_FCB_FROM_THIS(File);\r
-  \r
+\r
   if (CompareGuid (InformationType, &gEfiFileSystemInfoGuid) != 0) {\r
     Status = GetFilesystemInfo (Fcb, BufferSize, Buffer);\r
   } else if (CompareGuid (InformationType, &gEfiFileInfoGuid) != 0) {\r
@@ -596,8 +596,8 @@ SemihostFsEntryPoint (
     }\r
 \r
     Status = gBS->InstallMultipleProtocolInterfaces (\r
-                    &gInstallHandle, \r
-                    &gEfiSimpleFileSystemProtocolGuid, &gSemihostFs, \r
+                    &gInstallHandle,\r
+                    &gEfiSimpleFileSystemProtocolGuid, &gSemihostFs,\r
                     &gEfiDevicePathProtocolGuid,       &gDevicePath,\r
                     NULL\r
                     );\r
@@ -606,6 +606,6 @@ SemihostFsEntryPoint (
       FreePool (mSemihostFsLabel);\r
     }\r
   }\r
\r
+\r
   return Status;\r
 }\r