PlatformMemorySize.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. /*++
  2. Copyright (c) 1999 - 2014, Intel Corporation. All rights reserved
  3. SPDX-License-Identifier: BSD-2-Clause-Patent
  4. Module Name:
  5. PlatformMemorySize.h
  6. Abstract:
  7. Platform Memory Size PPI as defined in Tiano
  8. PPI for describing the minimum platform memory size in order to successfully
  9. pass control into DXE
  10. --*/
  11. //
  12. //
  13. #ifndef _PEI_PLATFORM_MEMORY_SIZE_H_
  14. #define _PEI_PLATFORM_MEMORY_SIZE_H_
  15. #define PEI_PLATFORM_MEMORY_SIZE_PPI_GUID \
  16. { \
  17. 0x9a7ef41e, 0xc140, 0x4bd1, 0xb8, 0x84, 0x1e, 0x11, 0x24, 0xb, 0x4c, 0xe6 \
  18. }
  19. EFI_FORWARD_DECLARATION (PEI_PLATFORM_MEMORY_SIZE_PPI);
  20. typedef
  21. EFI_STATUS
  22. (EFIAPI *PEI_GET_MINIMUM_PLATFORM_MEMORY_SIZE) (
  23. IN EFI_PEI_SERVICES **PeiServices,
  24. IN PEI_PLATFORM_MEMORY_SIZE_PPI * This,
  25. IN OUT UINT64 *MemorySize
  26. );
  27. typedef struct _PEI_PLATFORM_MEMORY_SIZE_PPI {
  28. PEI_GET_MINIMUM_PLATFORM_MEMORY_SIZE GetPlatformMemorySize;
  29. } PEI_PLATFORM_MEMORY_SIZE_PPI;
  30. extern EFI_GUID gPeiPlatformMemorySizePpiGuid;
  31. #endif