ArmVirtMemInfoLib.h 949 B

1234567891011121314151617181920212223242526272829303132333435
  1. /** @file
  2. Copyright (c) 2011-2013, ARM Limited. All rights reserved.
  3. Copyright (c) 2017, Linaro, Ltd. All rights reserved.
  4. SPDX-License-Identifier: BSD-2-Clause-Patent
  5. **/
  6. #ifndef _ARM_VIRT_MEMINFO_LIB_H_
  7. #define _ARM_VIRT_MEMINFO_LIB_H_
  8. #include <Base.h>
  9. #include <Library/ArmLib.h>
  10. /**
  11. Return the Virtual Memory Map of your platform
  12. This Virtual Memory Map is used by MemoryInitPei Module to initialize the MMU
  13. on your platform.
  14. @param[out] VirtualMemoryMap Array of ARM_MEMORY_REGION_DESCRIPTOR
  15. describing a Physical-to-Virtual Memory
  16. mapping. This array must be ended by a
  17. zero-filled entry. The allocated memory
  18. will not be freed.
  19. **/
  20. VOID
  21. EFIAPI
  22. ArmVirtGetMemoryMap (
  23. OUT ARM_MEMORY_REGION_DESCRIPTOR **VirtualMemoryMap
  24. );
  25. #endif