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

      2 # Memory Allocation/Profile Library instance dedicated to SMM Core.

      3 # The implementation borrows the SMM Core Memory Allocation/Profile services as the primitive

      4 # for memory allocation/profile instead of using SMM System Table servces or SMM memory profile protocol in an indirect way.

      5 # It is assumed that this library instance must be linked with SMM Cre in this package.

      6 #

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

      8 #

      9 #  This program and the accompanying materials

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

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

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

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

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

     15 #

     16 ##

     17 
     18 [Defines]
     19   INF_VERSION                    = 0x00010005
     20   BASE_NAME                      = PiSmmCoreMemoryAllocationProfileLib
     21   MODULE_UNI_FILE                = PiSmmCoreMemoryAllocationProfileLib.uni
     22   FILE_GUID                      = D55E42AD-3E63-4536-8281-82C0F1098C5E
     23   MODULE_TYPE                    = SMM_CORE
     24   VERSION_STRING                 = 1.0
     25   PI_SPECIFICATION_VERSION       = 0x0001000A
     26   LIBRARY_CLASS                  = MemoryAllocationLib|SMM_CORE
     27   CONSTRUCTOR                    = PiSmmCoreMemoryAllocationLibConstructor
     28   LIBRARY_CLASS                  = MemoryProfileLib|SMM_CORE
     29   CONSTRUCTOR                    = PiSmmCoreMemoryProfileLibConstructor
     30 
     31 #

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

     33 #

     34 #  VALID_ARCHITECTURES           = IA32 X64

     35 #

     36 
     37 [Sources]
     38   MemoryAllocationLib.c
     39   PiSmmCoreMemoryAllocationServices.h
     40   PiSmmCoreMemoryProfileLib.c
     41   PiSmmCoreMemoryProfileServices.h
     42 
     43 [Packages]
     44   MdePkg/MdePkg.dec
     45   MdeModulePkg/MdeModulePkg.dec
     46 
     47 [LibraryClasses]
     48   DebugLib
     49   BaseMemoryLib
     50   UefiBootServicesTableLib
     51 
     52 [Guids]
     53   gEdkiiMemoryProfileGuid   ## SOMETIMES_CONSUMES   ## GUID # Locate protocol

     54 
     55