ArmVirtPkg.dec 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. #/** @file
  2. #
  3. # Copyright (c) 2014, Linaro Limited. All rights reserved.
  4. # Copyright (c) 2020, ARM Limited. All rights reserved.
  5. #
  6. # SPDX-License-Identifier: BSD-2-Clause-Patent
  7. #
  8. #**/
  9. [Defines]
  10. DEC_SPECIFICATION = 0x00010005
  11. PACKAGE_NAME = ArmVirtPkg
  12. PACKAGE_GUID = A0B31216-508E-4025-BEAB-56D836C66F0A
  13. PACKAGE_VERSION = 0.1
  14. ################################################################################
  15. #
  16. # Include Section - list of Include Paths that are provided by this package.
  17. # Comments are used for Keywords and Module Types.
  18. #
  19. # Supported Module Types:
  20. # BASE SEC PEI_CORE PEIM DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER DXE_SAL_DRIVER UEFI_DRIVER UEFI_APPLICATION
  21. #
  22. ################################################################################
  23. [Includes.common]
  24. Include # Root include for the package
  25. [LibraryClasses]
  26. ArmVirtMemInfoLib|Include/Library/ArmVirtMemInfoLib.h
  27. [Guids.common]
  28. gArmVirtTokenSpaceGuid = { 0x0B6F5CA7, 0x4F53, 0x445A, { 0xB7, 0x6E, 0x2E, 0x36, 0x5B, 0x80, 0x63, 0x66 } }
  29. gEarlyPL011BaseAddressGuid = { 0xB199DEA9, 0xFD5C, 0x4A84, { 0x80, 0x82, 0x2F, 0x41, 0x70, 0x78, 0x03, 0x05 } }
  30. gEarly16550UartBaseAddressGuid = { 0xea67ca3e, 0x1f54, 0x436b, { 0x97, 0x88, 0xd4, 0xeb, 0x29, 0xc3, 0x42, 0x67 } }
  31. gArmVirtSystemMemorySizeGuid = { 0x504eccb9, 0x1bf0, 0x4420, { 0x86, 0x5d, 0xdc, 0x66, 0x06, 0xd4, 0x13, 0xbf } }
  32. [PcdsFeatureFlag]
  33. #
  34. # Feature Flag PCD that defines whether TPM2 support is enabled
  35. #
  36. gArmVirtTokenSpaceGuid.PcdTpm2SupportEnabled|FALSE|BOOLEAN|0x00000004
  37. [PcdsFixedAtBuild, PcdsPatchableInModule]
  38. #
  39. # This is the physical address where the device tree is expected to be stored
  40. # upon first entry into UEFI. This needs to be a FixedAtBuild PCD, so that we
  41. # can do a first pass over the device tree in the SEC phase to discover the
  42. # UART base address.
  43. #
  44. gArmVirtTokenSpaceGuid.PcdDeviceTreeInitialBaseAddress|0x0|UINT64|0x00000001
  45. #
  46. # Padding in bytes to add to the device tree allocation, so that the DTB can
  47. # be modified in place (default: 256 bytes)
  48. #
  49. gArmVirtTokenSpaceGuid.PcdDeviceTreeAllocationPadding|256|UINT32|0x00000002
  50. #
  51. # Binary representation of the GUID that determines the terminal type. The
  52. # size must be exactly 16 bytes. The default value corresponds to
  53. # EFI_VT_100_GUID.
  54. #
  55. gArmVirtTokenSpaceGuid.PcdTerminalTypeGuidBuffer|{0x65, 0x60, 0xA6, 0xDF, 0x19, 0xB4, 0xD3, 0x11, 0x9A, 0x2D, 0x00, 0x90, 0x27, 0x3F, 0xC1, 0x4D}|VOID*|0x00000007
  56. ##
  57. # This is the physical address of Rsdp which is the core struct of Acpi.
  58. # Cloud Hypervisor has no other way to pass Rsdp address to the guest except use a PCD.
  59. #
  60. gArmVirtTokenSpaceGuid.PcdCloudHvAcpiRsdpBaseAddress|0x0|UINT64|0x00000005