aboutsummaryrefslogtreecommitdiff
path: root/Application/Loader/Loader.inf
blob: 1e8e902a3934d86714a7e31e3bda2e5cf502e20e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
[Defines]
  INF_VERSION                    = 0x00010019
  BASE_NAME                      = Loader
  FILE_GUID                      = FADCFFF6-E60C-4684-A241-B203D6E6686D
  MODULE_TYPE                    = UEFI_APPLICATION
  VERSION_STRING                 = 1.0

  ENTRY_POINT                    = UefiMain

[Sources]
  Loader.c

[Packages]
  MdePkg/MdePkg.dec
  EfiGuardPkg/EfiGuardPkg.dec
  MdeModulePkg/MdeModulePkg.dec

[LibraryClasses]
  UefiApplicationEntryPoint
  UefiBootServicesTableLib
  DebugLib
  UefiLib
  DevicePathLib
  PrintLib
  UefiBootManagerLib

[Guids]
  ## SOMETIMES_PRODUCES ## Variable:L"BootCurrent" (The boot option of current boot)
  gEfiGlobalVariableGuid
  gEfiEventReadyToBootGuid                         ## SOMETIMES_PRODUCES
  gEfiHobListGuid                                  ## CONSUMES
  gEfiDxeServicesTableGuid                         ## CONSUMES
  gEfiFileInfoGuid                                 ## CONSUMES

[Protocols]
  gEfiGuardDriverProtocolGuid                      ## CONSUMES
  gEfiLoadedImageProtocolGuid                      ## CONSUMES
  gEfiDevicePathProtocolGuid                       ## CONSUMES
  gEfiDevicePathToTextProtocolGuid                 ## CONSUMES
  gEfiDevicePathUtilitiesProtocolGuid              ## CONSUMES
  gEfiSimpleFileSystemProtocolGuid                 ## CONSUMES
  gEfiLoadFileProtocolGuid                         ## CONSUMES
  gEfiBlockIoProtocolGuid                          ## CONSUMES
  gEfiRamDiskProtocolGuid                          ## CONSUMES
  gEfiHiiStringProtocolGuid                        ## CONSUMES
  gEfiHiiDatabaseProtocolGuid                      ## CONSUMES
  gEfiHiiConfigRoutingProtocolGuid                 ## CONSUMES
  gEfiHiiFontProtocolGuid                          ## CONSUMES
  gEfiHiiImageProtocolGuid                         ## CONSUMES
  gEfiPciIoProtocolGuid                            ## CONSUMES
  gEfiUsbIoProtocolGuid                            ## CONSUMES
  gEfiFirmwareVolume2ProtocolGuid                  ## CONSUMES
  gEfiSimpleTextInProtocolGuid                     ## CONSUMES
  gEfiSimpleTextOutProtocolGuid                    ## CONSUMES

[BuildOptions.Common]
  *:DEBUG_*_*_PP_FLAGS = -D EFI_DEBUG
  *:DEBUG_*_*_CC_FLAGS = -D EFI_DEBUG

  *:RELEASE_*_*_CC_FLAGS = -D MDEPKG_NDEBUG

[BuildOptions.common.UEFI_APPLICATION]
  MSFT:*_*_*_DLINK_FLAGS = /SUBSYSTEM:EFI_APPLICATION,1.0
  INTEL:*_*_*_DLINK_FLAGS = /SUBSYSTEM:EFI_APPLICATION,1.0