diff options
Diffstat (limited to 'FatPkg/EnhancedFatDxe/OpenVolume.c')
-rw-r--r-- | FatPkg/EnhancedFatDxe/OpenVolume.c | 40 |
1 files changed, 12 insertions, 28 deletions
diff --git a/FatPkg/EnhancedFatDxe/OpenVolume.c b/FatPkg/EnhancedFatDxe/OpenVolume.c index 0f43ffae98..4e12db317e 100644 --- a/FatPkg/EnhancedFatDxe/OpenVolume.c +++ b/FatPkg/EnhancedFatDxe/OpenVolume.c @@ -1,4 +1,5 @@ -/*++
+/** @file
+ OpenVolume() function of Simple File System Protocol.
Copyright (c) 2005 - 2013, Intel Corporation. All rights reserved.<BR>
This program and the accompanying materials are licensed and made available
@@ -9,45 +10,28 @@ http://opensource.org/licenses/bsd-license.php THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+**/
-Module Name:
-
- OpenVolume.c
+#include "Fat.h"
-Abstract:
+/**
- OpenVolume() function of Simple File System Protocol
+ Implements Simple File System Protocol interface function OpenVolume().
-Revision History
+ @param This - Calling context.
+ @param File - the Root Directory of the volume.
---*/
-
-#include "Fat.h"
+ @retval EFI_OUT_OF_RESOURCES - Can not allocate the memory.
+ @retval EFI_VOLUME_CORRUPTED - The FAT type is error.
+ @retval EFI_SUCCESS - Open the volume successfully.
+**/
EFI_STATUS
EFIAPI
FatOpenVolume (
IN EFI_SIMPLE_FILE_SYSTEM_PROTOCOL *This,
OUT EFI_FILE_PROTOCOL **File
)
-/*++
-
-Routine Description:
-
- Implements Simple File System Protocol interface function OpenVolume().
-
-Arguments:
-
- This - Calling context.
- File - the Root Directory of the volume.
-
-Returns:
-
- EFI_OUT_OF_RESOURCES - Can not allocate the memory.
- EFI_VOLUME_CORRUPTED - The FAT type is error.
- EFI_SUCCESS - Open the volume successfully.
-
---*/
{
EFI_STATUS Status;
FAT_VOLUME *Volume;
|