+ EFI_STATUS Status;\r
+\r
+ if (Buffer == NULL) {\r
+ return EFI_INVALID_PARAMETER;\r
+ }\r
+\r
+ Status = EFI_UNSUPPORTED;\r
+\r
+ if (CompareGuid (InformationType, &gEfiFileSystemInfoGuid) != 0) {\r
+ //Status = SetFilesystemInfo (Fcb, BufferSize, Buffer);\r
+ } else if (CompareGuid (InformationType, &gEfiFileInfoGuid) != 0) {\r
+ //Status = SetFileInfo (Fcb, BufferSize, Buffer);\r
+ } else if (CompareGuid (InformationType, &gEfiFileSystemVolumeLabelInfoIdGuid) != 0) {\r
+ if (StrSize (Buffer) > 0) {\r
+ FreePool (mSemihostFsLabel);\r
+ mSemihostFsLabel = AllocateCopyPool (StrSize (Buffer), Buffer);\r
+ Status = EFI_SUCCESS;\r
+ }\r
+ }\r
+\r
+ return Status;\r