SgiPlatform.dec 4.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  1. #
  2. # Copyright (c) 2018 - 2022, Arm Limited. All rights reserved.
  3. #
  4. # SPDX-License-Identifier: BSD-2-Clause-Patent
  5. #
  6. [Defines]
  7. DEC_SPECIFICATION = 0x0001001A
  8. PACKAGE_NAME = SgiPkg
  9. PACKAGE_GUID = e6e0f26c-0df9-4f6c-a382-37ded896c6e9
  10. PACKAGE_VERSION = 0.1
  11. ################################################################################
  12. #
  13. # Include Section - list of Include Paths that are provided by this package.
  14. # Comments are used for Keywords and Module Types.
  15. #
  16. # Supported Module Types:
  17. # BASE SEC PEI_CORE PEIM DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER DXE_SAL_DRIVER UEFI_DRIVER UEFI_APPLICATION
  18. #
  19. ################################################################################
  20. [Includes.common]
  21. Include # Root include for the package
  22. [Guids.common]
  23. # ARM Sgi Platform ID descriptor
  24. gArmSgiPlatformIdDescriptorGuid = { 0xf56f152a, 0xad2a, 0x11e6, { 0xb1, 0xa7, 0x00, 0x50, 0x56, 0x3c, 0x44, 0xcc } }
  25. gArmSgiTokenSpaceGuid = { 0x577d6941, 0xaea1, 0x40b4, { 0x90, 0x93, 0x2a, 0x86, 0x61, 0x72, 0x5a, 0x57 } }
  26. gArmSgiAcpiTablesGuid = { 0xc712719a, 0x0aaf, 0x438c, { 0x9c, 0xdd, 0x35, 0xab, 0x4d, 0x60, 0x20, 0x7d } }
  27. [PcdsFeatureFlag.common]
  28. gArmSgiTokenSpaceGuid.PcdVirtioBlkSupported|FALSE|BOOLEAN|0x00000001
  29. gArmSgiTokenSpaceGuid.PcdVirtioNetSupported|FALSE|BOOLEAN|0x00000010
  30. [PcdsFixedAtBuild]
  31. gArmSgiTokenSpaceGuid.PcdDramBlock2Base|0|UINT64|0x00000002
  32. gArmSgiTokenSpaceGuid.PcdDramBlock2Size|0|UINT64|0x00000003
  33. # Virtio Block device
  34. gArmSgiTokenSpaceGuid.PcdVirtioBlkBaseAddress|0x00000000|UINT32|0x00000004
  35. gArmSgiTokenSpaceGuid.PcdVirtioBlkSize|0x00000000|UINT32|0x00000005
  36. gArmSgiTokenSpaceGuid.PcdVirtioBlkInterrupt|0x00000000|UINT32|0x00000006
  37. # Virtio Network device
  38. gArmSgiTokenSpaceGuid.PcdVirtioNetBaseAddress|0x00000000|UINT32|0x00000007
  39. gArmSgiTokenSpaceGuid.PcdVirtioNetSize|0x00000000|UINT32|0x00000008
  40. gArmSgiTokenSpaceGuid.PcdVirtioNetInterrupt|0x00000000|UINT32|0x00000009
  41. # Chip count on the platform
  42. gArmSgiTokenSpaceGuid.PcdChipCount|1|UINT32|0x0000000B
  43. # GIC
  44. gArmSgiTokenSpaceGuid.PcdGicSize|0|UINT64|0x0000000A
  45. gArmSgiTokenSpaceGuid.PcdSmcCs0Base|0|UINT64|0x0000000C
  46. gArmSgiTokenSpaceGuid.PcdSmcCs1Base|0|UINT64|0x0000000D
  47. gArmSgiTokenSpaceGuid.PcdSmcCs2Base|0|UINT64|0x00001000
  48. gArmSgiTokenSpaceGuid.PcdSysPeriphBase|0x00000000|UINT64|0x0000000E
  49. gArmSgiTokenSpaceGuid.PcdSysPeriphSysRegBase|0x0|UINT64|0x0000000F
  50. # Counter, Timer and Watchdog
  51. gArmSgiTokenSpaceGuid.PcdGtFrame0Gsiv|0|UINT32|0x00000011
  52. gArmSgiTokenSpaceGuid.PcdGtFrame1Gsiv|0|UINT32|0x00000012
  53. gArmSgiTokenSpaceGuid.PcdTimerBase0Base|0|UINT32|0x00000015
  54. gArmSgiTokenSpaceGuid.PcdTimerBase0Size|0|UINT32|0x00000016
  55. gArmSgiTokenSpaceGuid.PcdTimerControlBase|0|UINT32|0x00000017
  56. gArmSgiTokenSpaceGuid.PcdTimerControlSize|0|UINT32|0x00000018
  57. gArmSgiTokenSpaceGuid.PcdTimerCounterReadBase|0|UINT32|0x00000019
  58. gArmSgiTokenSpaceGuid.PcdTimerCounterReadSize|0|UINT32|0x0000001A
  59. gArmSgiTokenSpaceGuid.PcdWdogBase|0|UINT32|0x0000001B
  60. gArmSgiTokenSpaceGuid.PcdWdogSize|0|UINT32|0x0000001C
  61. gArmSgiTokenSpaceGuid.PcdWdogWS0Gsiv|0|UINT32|0x00000013
  62. gArmSgiTokenSpaceGuid.PcdWdogWS1Gsiv|0|UINT32|0x00000014
  63. # SMMU
  64. gArmSgiTokenSpaceGuid.PcdSmmuBase|0|UINT32|0x0000001D
  65. gArmSgiTokenSpaceGuid.PcdSmmuSize|0|UINT32|0x0000001E
  66. # GPIO Controller
  67. gArmSgiTokenSpaceGuid.PcdGpioController0BaseAddress|0|UINT32|0x0000001F
  68. gArmSgiTokenSpaceGuid.PcdGpioController0Size|0|UINT32|0x00000020
  69. gArmSgiTokenSpaceGuid.PcdGpioController0Interrupt|0|UINT32|0x00000021
  70. # SP804 Dual Timer
  71. gArmSgiTokenSpaceGuid.PcdSp804DualTimerBaseAddress|0|UINT32|0x00000022
  72. gArmSgiTokenSpaceGuid.PcdSp804DualTimerSize|0|UINT32|0x00000023
  73. gArmSgiTokenSpaceGuid.PcdSp804DualTimerInterrupt|0|UINT32|0x00000024
  74. # ACPI platform wide _OSC
  75. gArmSgiTokenSpaceGuid.PcdOscLpiEnable|0|UINT32|0x00000025
  76. gArmSgiTokenSpaceGuid.PcdOscCppcEnable|0|UINT32|0x00000026
  77. # Address bus width
  78. gArmSgiTokenSpaceGuid.PcdMaxAddressBitsPerChip|0x0|UINT64|0x00000027
  79. [Ppis]
  80. gNtFwConfigDtInfoPpiGuid = { 0x6f606eb3, 0x9123, 0x4e15, { 0xa8, 0x9b, 0x0f, 0xac, 0x66, 0xef, 0xd0, 0x17 } }