2 Provides interface to shell functionality for shell commands and applications.
4 Copyright (c) 2006 - 2010, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
17 #include <Guid/FileInfo.h>
19 #include <Protocol/SimpleFileSystem.h>
20 #include <Protocol/LoadedImage.h>
21 #include <Protocol/EfiShellInterface.h>
22 #include <Protocol/EfiShellEnvironment2.h>
23 #include <Protocol/EfiShell.h>
24 #include <Protocol/EfiShellParameters.h>
26 #include <Library/UefiBootServicesTableLib.h>
27 #include <Library/BaseLib.h>
28 #include <Library/BaseMemoryLib.h>
29 #include <Library/DebugLib.h>
30 #include <Library/MemoryAllocationLib.h>
31 #include <Library/DevicePathLib.h>
32 #include <Library/PcdLib.h>
33 #include <Library/FileHandleLib.h>
34 #include <Library/PrintLib.h>
35 #include <Library/UefiLib.h>
36 #include <Library/HiiLib.h>
37 #include <Library/ShellLib.h>
40 EFI_SHELL_GET_FILE_INFO GetFileInfo
;
41 EFI_SHELL_SET_FILE_INFO SetFileInfo
;
42 EFI_SHELL_READ_FILE ReadFile
;
43 EFI_SHELL_WRITE_FILE WriteFile
;
44 EFI_SHELL_CLOSE_FILE CloseFile
;
45 EFI_SHELL_DELETE_FILE DeleteFile
;
46 EFI_SHELL_GET_FILE_POSITION GetFilePosition
;
47 EFI_SHELL_SET_FILE_POSITION SetFilePosition
;
48 EFI_SHELL_FLUSH_FILE FlushFile
;
49 EFI_SHELL_GET_FILE_SIZE GetFileSize
;
50 } FILE_HANDLE_FUNCTION_MAP
;