2 This driver produces file explorer protocol layered on top of the FileExplorerLib from the MdeModulePkg.
4 Copyright (c) 2015, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
11 #include <Protocol/FileExplorer.h>
12 #include <Library/FileExplorerLib.h>
13 #include <Library/UefiBootServicesTableLib.h>
14 #include <Library/DebugLib.h>
15 #include <Library/UefiDriverEntryPoint.h>
17 EFI_HANDLE mFileExplorerThunkHandle
= NULL
;
19 CONST EFI_FILE_EXPLORER_PROTOCOL mFileExplorerProtocol
= {
24 The user Entry Point for File explorer module.
26 This is the entry point for Print DXE Driver. It installs the file explorer Protocol.
28 @param[in] ImageHandle The firmware allocated handle for the EFI image.
29 @param[in] SystemTable A pointer to the EFI System Table.
31 @retval EFI_SUCCESS The entry point is executed successfully.
32 @retval Others Some error occurs when executing this entry point.
37 FileExplorerEntryPoint (
38 IN EFI_HANDLE ImageHandle
,
39 IN EFI_SYSTEM_TABLE
*SystemTable
44 Status
= gBS
->InstallMultipleProtocolInterfaces (
45 &mFileExplorerThunkHandle
,
46 &gEfiFileExplorerProtocolGuid
, &mFileExplorerProtocol
,
49 ASSERT_EFI_ERROR (Status
);