1## @file
2#  Produces EFI_RAM_DISK_PROTOCOL and provides the capability to
3#  create/remove RAM disks in a setup browser.
4#
5#  Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
6#  This program and the accompanying materials
7#  are licensed and made available under the terms and conditions of the BSD License
8#  which accompanies this distribution.  The full text of the license may be found at
9#  http://opensource.org/licenses/bsd-license.php
10#
11#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13#
14##
15
16[Defines]
17  INF_VERSION               = 0x00010005
18  BASE_NAME                 = RamDiskDxe
19  MODULE_UNI_FILE           = RamDiskDxe.uni
20  FILE_GUID                 = 28A03FF4-12B3-4305-A417-BB1A4F94081E
21  MODULE_TYPE               = DXE_DRIVER
22  VERSION_STRING            = 1.0
23  ENTRY_POINT               = RamDiskDxeEntryPoint
24  UNLOAD_IMAGE              = RamDiskDxeUnload
25
26#
27# The following information is for reference only and not required by the build tools.
28#
29#  VALID_ARCHITECTURES      = IA32 X64 ARM AARCH64
30#
31
32[Sources]
33  RamDiskDriver.c
34  RamDiskImpl.c
35  RamDiskBlockIo.c
36  RamDiskProtocol.c
37  RamDiskFileExplorer.c
38  RamDiskImpl.h
39  RamDiskHii.vfr
40  RamDiskHiiStrings.uni
41  RamDiskNVData.h
42  RamDisk.asl
43
44[Packages]
45  MdePkg/MdePkg.dec
46  MdeModulePkg/MdeModulePkg.dec
47
48[LibraryClasses]
49  BaseLib
50  BaseMemoryLib
51  DebugLib
52  UefiLib
53  UefiDriverEntryPoint
54  UefiBootServicesTableLib
55  UefiHiiServicesLib
56  MemoryAllocationLib
57  HiiLib
58  FileExplorerLib
59  DevicePathLib
60  PrintLib
61  PcdLib
62  DxeServicesLib
63
64[Guids]
65  gEfiIfrTianoGuid                               ## PRODUCES            ## GUID  # HII opcode
66  ## PRODUCES                ## HII
67  ## CONSUMES                ## HII
68  gRamDiskFormSetGuid
69  gEfiVirtualDiskGuid                            ## SOMETIMES_CONSUMES  ## GUID
70  gEfiFileInfoGuid                               ## SOMETIMES_CONSUMES  ## GUID  # Indicate the information type
71
72[Protocols]
73  gEfiRamDiskProtocolGuid                        ## PRODUCES
74  gEfiHiiConfigAccessProtocolGuid                ## PRODUCES
75  gEfiDevicePathProtocolGuid                     ## PRODUCES
76  gEfiBlockIoProtocolGuid                        ## PRODUCES
77  gEfiBlockIo2ProtocolGuid                       ## PRODUCES
78  gEfiSimpleFileSystemProtocolGuid               ## SOMETIMES_CONSUMES
79  gEfiAcpiTableProtocolGuid                      ## SOMETIMES_CONSUMES
80  gEfiAcpiSdtProtocolGuid                        ## SOMETIMES_CONSUMES
81
82[Pcd]
83  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemId            ## SOMETIMES_CONSUMES
84  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemTableId       ## SOMETIMES_CONSUMES
85  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultOemRevision      ## SOMETIMES_CONSUMES
86  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorId        ## SOMETIMES_CONSUMES
87  gEfiMdeModulePkgTokenSpaceGuid.PcdAcpiDefaultCreatorRevision  ## SOMETIMES_CONSUMES
88
89[Depex]
90  gEfiHiiConfigRoutingProtocolGuid  AND
91  gEfiHiiDatabaseProtocolGuid
92