Home | History | Annotate | Download | only in Ppi
      1 /*++
      2 
      3 Copyright (c)  1999  - 2014, Intel Corporation. All rights reserved
      4 
      5   This program and the accompanying materials are licensed and made available under
      6   the terms and conditions of the BSD License that accompanies this distribution.
      7   The full text of the license may be found at
      8   http://opensource.org/licenses/bsd-license.php.
      9 
     10   THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
     11   WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
     12 
     13 
     14 Module Name:
     15 
     16   PlatformMemorySize.h
     17 
     18 Abstract:
     19 
     20   Platform Memory Size PPI as defined in Tiano
     21 
     22   PPI for describing the minimum platform memory size in order to successfully
     23   pass control into DXE
     24 
     25 --*/
     26 //
     27 //
     28 #ifndef _PEI_PLATFORM_MEMORY_SIZE_H_
     29 #define _PEI_PLATFORM_MEMORY_SIZE_H_
     30 
     31 #define PEI_PLATFORM_MEMORY_SIZE_PPI_GUID \
     32   { \
     33     0x9a7ef41e, 0xc140, 0x4bd1, 0xb8, 0x84, 0x1e, 0x11, 0x24, 0xb, 0x4c, 0xe6 \
     34   }
     35 
     36 EFI_FORWARD_DECLARATION (PEI_PLATFORM_MEMORY_SIZE_PPI);
     37 
     38 typedef
     39 EFI_STATUS
     40 (EFIAPI *PEI_GET_MINIMUM_PLATFORM_MEMORY_SIZE) (
     41   IN      EFI_PEI_SERVICES                       **PeiServices,
     42   IN PEI_PLATFORM_MEMORY_SIZE_PPI                * This,
     43   IN OUT  UINT64                                 *MemorySize
     44   );
     45 
     46 typedef struct _PEI_PLATFORM_MEMORY_SIZE_PPI {
     47   PEI_GET_MINIMUM_PLATFORM_MEMORY_SIZE  GetPlatformMemorySize;
     48 } PEI_PLATFORM_MEMORY_SIZE_PPI;
     49 
     50 extern EFI_GUID gPeiPlatformMemorySizePpiGuid;
     51 
     52 #endif
     53