Home | History | Annotate | Download | only in S3Resume2Pei
      1 ## @file

      2 # S3 Resume Module installs EFI_PEI_S3_RESUME2_PPI.

      3 #

      4 # This module works with StandAloneBootScriptExecutor to S3 resume to OS.

      5 # This module will excute the boot script saved during last boot and after that,

      6 # control is passed to OS waking up handler.

      7 #

      8 # Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>

      9 #

     10 # This program and the accompanying materials are

     11 # licensed and made available under the terms and conditions of the BSD License

     12 # which accompanies this distribution.  The full text of the license may be found at

     13 # http://opensource.org/licenses/bsd-license.php

     14 #

     15 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,

     16 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

     17 #

     18 ##

     19 
     20 [Defines]
     21   INF_VERSION                    = 0x00010005
     22   BASE_NAME                      = S3Resume2Pei
     23   MODULE_UNI_FILE                = S3Resume2Pei.uni
     24   FILE_GUID                      = 89E549B0-7CFE-449d-9BA3-10D8B2312D71
     25   MODULE_TYPE                    = PEIM
     26   VERSION_STRING                 = 1.0
     27   ENTRY_POINT                    = PeimS3ResumeEntryPoint
     28 
     29 #

     30 # The following information is for reference only and not required by the build tools.

     31 #

     32 #  VALID_ARCHITECTURES           = IA32 X64

     33 #

     34 
     35 [Sources]
     36   S3Resume.c
     37 
     38 [Sources.IA32]
     39   Ia32/AsmFuncs.asm
     40   Ia32/AsmFuncs.S    | GCC
     41 
     42 [Sources.X64]
     43   X64/AsmFuncs.asm
     44   X64/AsmFuncs.S     | GCC
     45 
     46 [Packages]
     47   MdePkg/MdePkg.dec
     48   MdeModulePkg/MdeModulePkg.dec
     49   UefiCpuPkg/UefiCpuPkg.dec
     50 
     51 [LibraryClasses]
     52   PeiServicesTablePointerLib
     53   PerformanceLib
     54   HobLib
     55   PeiServicesLib
     56   PeimEntryPoint
     57   TimerLib
     58   BaseLib
     59   DebugLib
     60   PcdLib
     61   IoLib
     62   BaseMemoryLib
     63   MemoryAllocationLib
     64   DebugAgentLib
     65   LocalApicLib
     66   ReportStatusCodeLib
     67   LockBoxLib
     68   PrintLib
     69 
     70 [Guids]
     71   gEfiBootScriptExecutorVariableGuid            ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox

     72   gEfiBootScriptExecutorContextGuid             ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox

     73   gPerformanceProtocolGuid                      ## SOMETIMES_CONSUMES ## Variable:L"PerfDataMemAddr"

     74   ## SOMETIMES_CONSUMES ## HOB

     75   ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox

     76   gEfiAcpiVariableGuid
     77   gEfiAcpiS3ContextGuid                         ## SOMETIMES_CONSUMES ## UNDEFINED # LockBox

     78 
     79 [Ppis]
     80   gEfiPeiReadOnlyVariable2PpiGuid               ## CONSUMES

     81   gEfiPeiS3Resume2PpiGuid                       ## PRODUCES

     82   gPeiSmmAccessPpiGuid                          ## SOMETIMES_CONSUMES

     83   gPeiPostScriptTablePpiGuid                    ## SOMETIMES_PRODUCES

     84   gEfiEndOfPeiSignalPpiGuid                     ## SOMETIMES_PRODUCES

     85 
     86 [FeaturePcd]
     87   gEfiMdeModulePkgTokenSpaceGuid.PcdDxeIplSwitchToLongMode         ## CONSUMES

     88   gEfiMdeModulePkgTokenSpaceGuid.PcdFrameworkCompatibilitySupport  ## CONSUMES

     89 
     90 [Pcd]
     91   gEfiMdeModulePkgTokenSpaceGuid.PcdUse1GPageTable  ## SOMETIMES_CONSUMES

     92 
     93 [Depex]
     94   TRUE
     95 
     96 [UserExtensions.TianoCore."ExtraFiles"]
     97   S3Resume2PeiExtra.uni
     98