AmdStyx.dec 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. #/** @file
  2. # AmdStyx package.
  3. #
  4. # Copyright (c) 2014 - 2016, AMD Inc. All rights reserved.
  5. #
  6. # This program and the accompanying materials are licensed and made
  7. # available under the terms and conditions of the BSD License which
  8. # accompanies this distribution. The full text of the license may be
  9. # found at http://opensource.org/licenses/bsd-license.php
  10. #
  11. # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
  12. # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
  13. #
  14. #**/
  15. [Defines]
  16. DEC_SPECIFICATION = 0x00010005
  17. PACKAGE_NAME = AmdStyx
  18. PACKAGE_GUID = 58353cd1-61fb-4f9e-93f7-c43961d39b01
  19. PACKAGE_VERSION = 0.1
  20. [Includes]
  21. Common
  22. [LibraryClasses]
  23. [Ppis]
  24. gAmdStyxPlatInitPpiGuid = { 0xcbff429c, 0xd3e3, 0x4c50, { 0xac, 0x1a, 0x1c, 0xd2, 0xfe, 0x15, 0x1a, 0xd7 } }
  25. [Protocols]
  26. gAmdMpBootProtocolGuid = { 0xe21eac84, 0x9fbf, 0x4808, { 0x83, 0x93, 0xe1, 0x93, 0x97, 0x23, 0x48, 0xab } }
  27. gAmdMpCoreInfoProtocolGuid = { 0x0dba25f8, 0x2da1, 0x4ec5, { 0x89, 0x5d, 0x32, 0x1e, 0xd6, 0x1e, 0x3f, 0x43 } }
  28. [Guids]
  29. gAmdStyxTokenSpaceGuid = { 0x220d9653, 0x4a0e, 0x40bc, { 0xb3, 0x65, 0x2f, 0xbb, 0xa2, 0xd9, 0x03, 0x45 } }
  30. gAmdStyxMpCoreInfoGuid = { 0x68efeabd, 0xcb77, 0x4aa5, { 0xbf, 0x0c, 0xa3, 0x31, 0xfc, 0xcf, 0x76, 0x66 } }
  31. # 2a5e4deb-4445-4fb6-8b14-366b8e779b69
  32. # EFI variable scope for Styx
  33. gAmdStyxVariableGuid = { 0x2a5e4deb, 0x4445, 0x4fb6, { 0x8b, 0x14, 0x36, 0x6b, 0x8e, 0x77, 0x9b, 0x69 } }
  34. [PcdsDynamic]
  35. gAmdStyxTokenSpaceGuid.PcdSocCoreCount|1|UINT32|0x00000100
  36. gAmdStyxTokenSpaceGuid.PcdSocCpuId|1|UINT32|0x00000101
  37. gAmdStyxTokenSpaceGuid.PcdEthMacA|0|UINT64|0x000d0001
  38. gAmdStyxTokenSpaceGuid.PcdEthMacB|0|UINT64|0x000d0002
  39. [PcdsFixedAtBuild]
  40. # CPUID Register
  41. gAmdStyxTokenSpaceGuid.PcdCpuIdRegister|0xE0000010|UINT32|0x00000200
  42. # Synopsys SATA Controller
  43. gAmdStyxTokenSpaceGuid.PcdSata0CtrlAxiSlvPort|0xE0300000|UINT32|0x00020000
  44. gAmdStyxTokenSpaceGuid.PcdSata0PortCount|8|UINT8|0x00020001
  45. gAmdStyxTokenSpaceGuid.PcdSataPi|0xFF|UINT32|0x00020002
  46. gAmdStyxTokenSpaceGuid.PcdSataPortMode|0|UINT16|0x00020003
  47. gAmdStyxTokenSpaceGuid.PcdSataPortMpsp|TRUE|BOOLEAN|0x00020004
  48. gAmdStyxTokenSpaceGuid.PcdSataSmpsSupport|FALSE|BOOLEAN|0x00020005
  49. gAmdStyxTokenSpaceGuid.PcdSataSssSupport|TRUE|BOOLEAN|0x00020006
  50. gAmdStyxTokenSpaceGuid.PcdSataPortCpd|TRUE|BOOLEAN|0x00020007
  51. gAmdStyxTokenSpaceGuid.PcdSata1CtrlAxiSlvPort|0xE0D00000|UINT32|0x00020008
  52. gAmdStyxTokenSpaceGuid.PcdSata1PortCount|8|UINT8|0x00020009
  53. # UART
  54. gAmdStyxTokenSpaceGuid.PcdSerialDbgRegisterBase|0xE1010000|UINT64|0x00030000
  55. gAmdStyxTokenSpaceGuid.PcdUartDbgBaudRate|115200|UINT32|0x00030001
  56. # GIC
  57. gAmdStyxTokenSpaceGuid.PcdGicVersion|0x2|UINT8|0x00040000
  58. gAmdStyxTokenSpaceGuid.PcdGicHypervisorInterruptInterfaceBase|0xE1140000|UINT64|0x00040001
  59. gAmdStyxTokenSpaceGuid.PcdGicVirtualInterruptInterfaceBase|0xE116F000|UINT64|0x00040002
  60. gAmdStyxTokenSpaceGuid.PcdGicVirtualMaintenanceInterrupt|25|UINT32|0x00040003
  61. gAmdStyxTokenSpaceGuid.PcdGicVirtualRegisterInterfaceBase|0x00000000|UINT64|0x00040004
  62. gAmdStyxTokenSpaceGuid.PcdGicMSIFrameBase|0xE1180000|UINT64|0x00040005
  63. # Timers (GTDT)
  64. gAmdStyxTokenSpaceGuid.PcdCntControlBase|0xFFFFFFFFFFFFFFFF|UINT64|0x00050000
  65. gAmdStyxTokenSpaceGuid.PcdCntReadBase|0x00000000E0B90000|UINT64|0x00050001
  66. gAmdStyxTokenSpaceGuid.PcdCntCTLBase|0x00000000E0BD0000|UINT64|0x00050002
  67. gAmdStyxTokenSpaceGuid.PcdCntBase0|0x00000000E0BE0000|UINT64|0x00050003
  68. gAmdStyxTokenSpaceGuid.PcdCntEL0Base0|0x00000000E0BF0000|UINT64|0x00050004
  69. gAmdStyxTokenSpaceGuid.PcdSbsaWatchDogRefreshBase|0x00000000E0BB0000|UINT64|0x00050005
  70. gAmdStyxTokenSpaceGuid.PcdSbsaWatchDogControlBase|0x00000000E0BC0000|UINT64|0x00050006
  71. gAmdStyxTokenSpaceGuid.PcdSbsaWakeUpGSIV|371|UINT32|0x00050007
  72. gAmdStyxTokenSpaceGuid.PcdSbsaWatchDogGSIV|369|UINT32|0x00050008
  73. # Trusted-Firmware
  74. gAmdStyxTokenSpaceGuid.PcdTrustedFWSupport|TRUE|BOOLEAN|0x00060000
  75. gAmdStyxTokenSpaceGuid.PcdTrustedFWMemoryBase|0x8000000000|UINT64|0x00060001
  76. gAmdStyxTokenSpaceGuid.PcdTrustedFWMemorySize|0xE80000|UINT64|0x0006002
  77. # ISCP
  78. gAmdStyxTokenSpaceGuid.PcdIscpSupport|TRUE|BOOLEAN|0x00070000
  79. # PSCI
  80. gAmdStyxTokenSpaceGuid.PcdPsciOsSupport|TRUE|BOOLEAN|0x00080000
  81. gAmdStyxTokenSpaceGuid.PcdPsciCpuOnContext|0|UINT64|0x00080001
  82. # Cores Per cluster
  83. gAmdStyxTokenSpaceGuid.PcdSocCoresPerCluster|2|UINT32|0x00090000
  84. # UEFI entry point
  85. gAmdStyxTokenSpaceGuid.PcdUefiEntryAddress|0x8000E80000|UINT64|0x000a0000
  86. # Parking Protocol
  87. gAmdStyxTokenSpaceGuid.PcdParkingProtocolVersion|1|UINT32|0x000b0000
  88. # The original offset in memory of the NV store firmware volume, before
  89. # relocating it to a dynamically allocated buffer. We need this to correlate
  90. # flash accesses to the in-memory copy with LBAs in the actual SPI flash
  91. gAmdStyxTokenSpaceGuid.PcdFlashNvStorageOriginalBase|0|UINT64|0x000c0000
  92. # block size to use when invoking the ISCP FV methods
  93. gAmdStyxTokenSpaceGuid.PcdFlashNvStorageBlockSize|0x1000|UINT32|0x000c0001
  94. [PcdsFixedAtBuild,PcdsDynamic]
  95. gAmdStyxTokenSpaceGuid.PcdEnableSmmus|FALSE|BOOLEAN|0xe0000000