AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 1 | #/** @file
|
| 2 | # Framework Module Development Environment Industry Standards
|
| 3 | #
|
| 4 | # This Package provides headers and libraries that conform to EFI/PI Industry standards.
|
hhtian | 60274cc | 2010-04-29 12:40:51 +0000 | [diff] [blame] | 5 | # Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>
|
Olivier Martin | f634244 | 2015-05-11 17:50:27 +0000 | [diff] [blame] | 6 | # Copyright (c) 2012-2015, ARM Ltd. All rights reserved.<BR>
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 7 | #
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 8 | # This program and the accompanying materials are licensed and made available under
|
| 9 | # the terms and conditions of the BSD License which accompanies this distribution.
|
| 10 | # The full text of the license may be found at
|
| 11 | # http://opensource.org/licenses/bsd-license.php
|
| 12 | #
|
| 13 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
| 14 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
| 15 | #
|
| 16 | #**/
|
| 17 |
|
| 18 | [Defines]
|
| 19 | DEC_SPECIFICATION = 0x00010005
|
| 20 | PACKAGE_NAME = EmbeddedPkg
|
| 21 | PACKAGE_GUID = dea8e498-7e1b-47c1-b6fa-4bc04092587e
|
| 22 | PACKAGE_VERSION = 0.1
|
| 23 |
|
| 24 |
|
| 25 | ################################################################################
|
| 26 | #
|
| 27 | # Include Section - list of Include Paths that are provided by this package.
|
| 28 | # Comments are used for Keywords and Module Types.
|
| 29 | #
|
| 30 | # Supported Module Types:
|
| 31 | # BASE SEC PEI_CORE PEIM DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER DXE_SAL_DRIVER UEFI_DRIVER UEFI_APPLICATION
|
| 32 | #
|
| 33 | ################################################################################
|
| 34 | [Includes.common]
|
| 35 | Include # Root include for the package
|
Vijay Kumar Pendoti | 19aa5bd | 2017-03-15 19:27:50 +0530 | [diff] [blame] | 36 | Library/LibUfdt
|
| 37 | Library/LibUfdt/include
|
| 38 | Library/LibUfdt/sysdeps/include
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 39 |
|
| 40 | [LibraryClasses.common]
|
| 41 | EfiFileLib|Include/Library/EfiFileLib.h
|
| 42 | PrePiLib|Include/Library/PrePiLib.h
|
| 43 | RealTimeClockLib|Include/Library/RealTimeClockLib.h
|
| 44 | EfiResetSystemLib|Include/Library/EfiResetSystemLib.h
|
| 45 | EblCmdLib|Include/Library/EblCmdLib.h
|
andrewfish | 969eba7 | 2010-04-03 00:41:42 +0000 | [diff] [blame] | 46 | EblAddExternalCommandLib|Include/Library/EblAddExternalCommandLib.h
|
| 47 | EblNetworkLib|Include/Library/EblNetworkLib.h
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 48 | GdbSerialLib|Include/Library/GdbSerialLib.h
|
andrewfish | 969eba7 | 2010-04-03 00:41:42 +0000 | [diff] [blame] | 49 | DebugAgentTimerLib|Include/Library/DebugAgentTimerLib.h
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 50 |
|
| 51 |
|
| 52 | [Guids.common]
|
| 53 | gEmbeddedTokenSpaceGuid = { 0xe0d8ca17, 0x4276, 0x4386, { 0xbb, 0x79, 0x48, 0xcb, 0x81, 0x3d, 0x3c, 0x4f }}
|
| 54 |
|
Olivier Martin | 90152e5 | 2014-08-01 18:34:20 +0000 | [diff] [blame] | 55 | ## FDT Configuration Table
|
| 56 | # Include/Guid/Fdt.h
|
| 57 | gFdtTableGuid = { 0xb1b621d5, 0xf19c, 0x41a5, { 0x83, 0x0b, 0xd9, 0x15, 0x2c, 0x69, 0xaa, 0xe0 } }
|
Ard Biesheuvel | cc667df | 2015-02-28 20:26:00 +0000 | [diff] [blame] | 58 | # Include/Guid/FdtHob.h
|
| 59 | gFdtHobGuid = { 0x16958446, 0x19B7, 0x480B, { 0xB0, 0x47, 0x74, 0x85, 0xAD, 0x3F, 0x71, 0x6D } }
|
Ronald Cron | 158497a | 2015-02-25 19:20:57 +0000 | [diff] [blame] | 60 | gFdtVariableGuid = { 0x25a4fd4a, 0x9703, 0x4ba9, { 0xa1, 0x90, 0xb7, 0xc8, 0x4e, 0xfb, 0x3e, 0x57 } }
|
Olivier Martin | 90152e5 | 2014-08-01 18:34:20 +0000 | [diff] [blame] | 61 |
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 62 | [Protocols.common]
|
| 63 | gHardwareInterruptProtocolGuid = { 0x2890B3EA, 0x053D, 0x1643, { 0xAD, 0x0C, 0xD6, 0x48, 0x08, 0xDA, 0x3F, 0xF1 } }
|
| 64 | gEfiDebugSupportPeriodicCallbackProtocolGuid = { 0x9546e07c, 0x2cbb, 0x4c88, { 0x98, 0x6c, 0xcd, 0x34, 0x10, 0x86, 0xf0, 0x44 } }
|
| 65 | gEfiEblAddCommandProtocolGuid = { 0xaeda2428, 0x9a22, 0x4637, { 0x9b, 0x21, 0x54, 0x5e, 0x28, 0xfb, 0xb8, 0x29 } }
|
| 66 | gEmbeddedDeviceGuid = { 0xbf4b9d10, 0x13ec, 0x43dd, { 0x88, 0x80, 0xe9, 0xb, 0x71, 0x8f, 0x27, 0xde } }
|
| 67 | gEmbeddedExternalDeviceProtocolGuid = { 0x735F8C64, 0xD696, 0x44D0, { 0xBD, 0xF2, 0x44, 0x7F, 0xD0, 0x5A, 0x54, 0x06 }}
|
| 68 | gEmbeddedGpioProtocolGuid = { 0x17a0a3d7, 0xc0a5, 0x4635, { 0xbb, 0xd5, 0x07, 0x21, 0x87, 0xdf, 0xe2, 0xee }}
|
andrewfish | e4dbec7 | 2010-01-30 20:37:50 +0000 | [diff] [blame] | 69 | gPeCoffLoaderProtocolGuid = { 0xB323179B, 0x97FB, 0x477E, { 0xB0, 0xFE, 0xD8, 0x85, 0x91, 0xFA, 0x11, 0xAB } }
|
oliviermartin | ce73d60 | 2011-06-03 09:07:31 +0000 | [diff] [blame] | 70 | gEfiMmcHostProtocolGuid = { 0x3e591c00, 0x9e4a, 0x11df, {0x92, 0x44, 0x00, 0x02, 0xA5, 0xD5, 0xC5, 0x1B }}
|
Olivier Martin | d8fd886 | 2014-03-05 04:12:35 +0000 | [diff] [blame] | 71 | gAndroidFastbootTransportProtocolGuid = { 0x74bd9fe0, 0x8902, 0x11e3, {0xb9, 0xd3, 0xf7, 0x22, 0x38, 0xfc, 0x9a, 0x31}}
|
Olivier Martin | ddd1436 | 2014-03-05 04:14:02 +0000 | [diff] [blame] | 72 | gAndroidFastbootPlatformProtocolGuid = { 0x524685a0, 0x89a0, 0x11e3, {0x9d, 0x4d, 0xbf, 0xa9, 0xf6, 0xa4, 0x03, 0x08}}
|
Olivier Martin | d972f80 | 2014-03-05 04:31:04 +0000 | [diff] [blame] | 73 | gUsbDeviceProtocolGuid = { 0x021bd2ca, 0x51d2, 0x11e3, {0x8e, 0x56, 0xb7, 0x54, 0x17, 0xc7, 0x0b, 0x44 }}
|
Ronald Cron | 62d441f | 2014-08-19 13:22:20 +0000 | [diff] [blame] | 74 |
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 75 | [PcdsFeatureFlag.common]
|
| 76 | gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|FALSE|BOOLEAN|0x00000001
|
| 77 | gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE|BOOLEAN|0x00000002
|
| 78 | gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE|BOOLEAN|0x00000003
|
| 79 | gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE|BOOLEAN|0x00000004
|
| 80 | gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE|BOOLEAN|0x00000005
|
| 81 | gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE|BOOLEAN|0x00000006
|
| 82 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|FALSE|BOOLEAN|0x00000041
|
andrewfish | fb334ef | 2011-02-01 05:37:22 +0000 | [diff] [blame] | 83 | gEmbeddedTokenSpaceGuid.PcdEmbeddedProbeRemovable|TRUE|BOOLEAN|0x00000052
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 84 |
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 85 | gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|FALSE|BOOLEAN|0x0000001b
|
| 86 | gEmbeddedTokenSpaceGuid.PcdCacheEnable|FALSE|BOOLEAN|0x00000042
|
andrewfish | fb334ef | 2011-02-01 05:37:22 +0000 | [diff] [blame] | 87 | gEmbeddedTokenSpaceGuid.PcdGdbSerial|FALSE|BOOLEAN|0x00000053
|
Olivier Martin | b0866ad | 2015-05-05 15:31:11 +0000 | [diff] [blame] | 88 | # Enable the development specific features
|
Ronald Cron | 158497a | 2015-02-25 19:20:57 +0000 | [diff] [blame] | 89 | gEmbeddedTokenSpaceGuid.PcdOverridePlatformFdt|TRUE|BOOLEAN|0x00000054
|
Olivier Martin | b0866ad | 2015-05-05 15:31:11 +0000 | [diff] [blame] | 90 | # Add 'dumpfdt' EFI Shell command
|
| 91 | gEmbeddedTokenSpaceGuid.PcdDumpFdtShellCommand|TRUE|BOOLEAN|0x00000056
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 92 |
|
Olivier Martin | f634244 | 2015-05-11 17:50:27 +0000 | [diff] [blame] | 93 | gEmbeddedTokenSpaceGuid.PcdSataSiI3132FeaturePMPSupport|FALSE|BOOLEAN|0x00000050
|
| 94 | gEmbeddedTokenSpaceGuid.PcdSataSiI3132FeatureDirectCommandIssuing|FALSE|BOOLEAN|0x00000051
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 95 |
|
| 96 | [PcdsFixedAtBuild.common]
|
| 97 | gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|L""|VOID*|0x00000007
|
| 98 | gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07|UINT32|0x00000008
|
| 99 | gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000|UINT32|0x00000009
|
oliviermartin | e6b3b50 | 2011-06-11 11:28:59 +0000 | [diff] [blame] | 100 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"Ebl"|VOID*|0x00000034
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 101 |
|
| 102 | gEmbeddedTokenSpaceGuid.PcdPrePiHobBase|131072|UINT32|0x00000040
|
| 103 | gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0|UINT32|0x0000000b
|
| 104 | gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|131072|UINT32|0x0000000c
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 105 |
|
andrewfish | 753816a | 2010-02-25 19:25:44 +0000 | [diff] [blame] | 106 | gEmbeddedTokenSpaceGuid.PcdMemoryBase|0x0|UINT32|0x0000004e
|
| 107 | gEmbeddedTokenSpaceGuid.PcdMemorySize|0x0|UINT32|0x0000004f
|
| 108 |
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 109 | gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|0x0|UINT32|0x00000043
|
| 110 | gEmbeddedTokenSpaceGuid.PcdFlashFvMainOffset|0x0|UINT32|0x00000044
|
andrewfish | eca37a3 | 2010-12-06 17:50:31 +0000 | [diff] [blame] | 111 | gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize|0x0|UINT32|0x00000045
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 112 |
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 113 | # Used to help reduce fragmentation in the EFI memory map
|
| 114 | # EFI Pages (4K) are the units used
|
| 115 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0|UINT32|0x00000012
|
| 116 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0|UINT32|0x00000013
|
| 117 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0|UINT32|0x00000014
|
| 118 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0|UINT32|0x00000015
|
| 119 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0|UINT32|0x00000016
|
| 120 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|0|UINT32|0x00000017
|
| 121 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|0|UINT32|0x00000018
|
| 122 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|0|UINT32|0x00000019
|
| 123 | gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0|UINT32|0x0000001a
|
| 124 |
|
| 125 | gEmbeddedTokenSpaceGuid.PcdTimerBaseAddress|0x3c700000|UINT32|0x0000001c
|
| 126 | gEmbeddedTokenSpaceGuid.PcdTimerVector|7|UINT32|0x0000001d
|
| 127 | gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000|UINT32|0x0000001e
|
| 128 | gEmbeddedTokenSpaceGuid.PcdInterruptBaseAddress|0x38e00000|UINT32|0x0000001f
|
oliviermartin | 0e568a7 | 2012-07-09 19:45:32 +0000 | [diff] [blame] | 129 |
|
| 130 | gEmbeddedTokenSpaceGuid.PcdMetronomeTickPeriod|100|UINT32|0x00000020
|
Ronald Cron | 3402aac | 2014-08-19 13:29:52 +0000 | [diff] [blame] | 131 |
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 132 | gEmbeddedTokenSpaceGuid.PcdEmbeddedFdBaseAddress|0xffff0000|UINT32|0x00000030
|
| 133 | gEmbeddedTokenSpaceGuid.PcdEmbeddedFdSize|0x0000000|UINT32|0x00000031
|
andrewfish | 6f6e059 | 2010-04-21 22:09:56 +0000 | [diff] [blame] | 134 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|0x0000000|UINT64|0x00000032
|
| 135 | gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds|0x0000000|UINT32|0x00000033
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 136 |
|
| 137 | # Shell characteristics
|
| 138 | gEmbeddedTokenSpaceGuid.PcdEmbeddedShellCharacterEcho|TRUE|BOOLEAN|0x00000046
|
| 139 |
|
| 140 | gEmbeddedTokenSpaceGuid.PcdGdbBaudRate|115200|UINT64|0x00000047
|
| 141 | gEmbeddedTokenSpaceGuid.PcdGdbDataBits|8|UINT8|0x00000048
|
| 142 | gEmbeddedTokenSpaceGuid.PcdGdbParity|1|UINT8|0x00000049
|
| 143 | gEmbeddedTokenSpaceGuid.PcdGdbStopBits|1|UINT8|0x0000004a
|
| 144 | gEmbeddedTokenSpaceGuid.PcdGdbUartPort|0x3f8|UINT32|0x0000004b
|
| 145 | gEmbeddedTokenSpaceGuid.PcdGdbMaxPacketRetryCount|10000000|UINT32|0x0000004c
|
andrewfish | 6f6e059 | 2010-04-21 22:09:56 +0000 | [diff] [blame] | 146 | gEmbeddedTokenSpaceGuid.PcdGdbTimerPeriodMilliseconds|250|UINT32|0x0000004d
|
AJFISH | 2ef2b01 | 2009-12-06 01:57:05 +0000 | [diff] [blame] | 147 |
|
Olivier Martin | 46f2c53 | 2014-04-24 19:29:11 +0000 | [diff] [blame] | 148 | # LAN9118 Ethernet Driver PCDs
|
| 149 | gEmbeddedTokenSpaceGuid.PcdLan9118DxeBaseAddress|0x0|UINT32|0x00000025
|
| 150 | gEmbeddedTokenSpaceGuid.PcdLan9118DefaultMacAddress|0x0|UINT64|0x00000026
|
| 151 |
|
Olivier Martin | d3f9977 | 2014-03-05 04:51:31 +0000 | [diff] [blame] | 152 | #
|
| 153 | # Android FastBoot
|
| 154 | #
|
| 155 |
|
| 156 | # The Android FastBoot utility has hard-coded USB Vendor IDs that it recognises
|
| 157 | # (and 0xf00d isn't one of them!).
|
| 158 | # You'll need to pass it "-i 0xf00d" to get it to recognise this device.
|
| 159 | gEmbeddedTokenSpaceGuid.PcdAndroidFastbootUsbVendorId|0xf00d|UINT32|0x00000022
|
| 160 | gEmbeddedTokenSpaceGuid.PcdAndroidFastbootUsbProductId|0xbeef|UINT32|0x00000023
|
Brendan Jackman | 4d6e1e5 | 2014-04-24 19:27:46 +0000 | [diff] [blame] | 161 | gEmbeddedTokenSpaceGuid.PcdAndroidFastbootTcpPort|1234|UINT32|0x00000024
|
Olivier Martin | d3f9977 | 2014-03-05 04:51:31 +0000 | [diff] [blame] | 162 |
|
Ronald Cron | 158497a | 2015-02-25 19:20:57 +0000 | [diff] [blame] | 163 |
|
Olivier Martin | 34b292f | 2013-11-28 21:40:14 +0000 | [diff] [blame] | 164 | [PcdsFixedAtBuild.ARM]
|
| 165 | gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32|UINT8|0x00000010
|
| 166 | gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0|UINT8|0x00000011
|
| 167 |
|
Olivier Martin | dbfd80d | 2014-03-05 04:32:48 +0000 | [diff] [blame] | 168 | # ISP1761 USB OTG Controller
|
| 169 | gEmbeddedTokenSpaceGuid.PcdIsp1761BaseAddress|0|UINT32|0x00000021
|
| 170 |
|
Olivier Martin | 34b292f | 2013-11-28 21:40:14 +0000 | [diff] [blame] | 171 | [PcdsFixedAtBuild.AARCH64]
|
| 172 | gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|48|UINT8|0x00000010
|
| 173 | gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0|UINT8|0x00000011
|
| 174 |
|
Olivier Martin | dbfd80d | 2014-03-05 04:32:48 +0000 | [diff] [blame] | 175 | # ISP1761 USB OTG Controller
|
| 176 | gEmbeddedTokenSpaceGuid.PcdIsp1761BaseAddress|0|UINT64|0x00000021
|
| 177 |
|
Olivier Martin | 34b292f | 2013-11-28 21:40:14 +0000 | [diff] [blame] | 178 | [PcdsFixedAtBuild.IA32]
|
| 179 | gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|36|UINT8|0x00000010
|
| 180 | gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16|UINT8|0x00000011
|
| 181 |
|
| 182 | [PcdsFixedAtBuild.X64]
|
| 183 | gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|52|UINT8|0x00000010
|
| 184 | gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16|UINT8|0x00000011
|
Ronald Cron | 158497a | 2015-02-25 19:20:57 +0000 | [diff] [blame] | 185 |
|
| 186 | [PcdsFixedAtBuild.common, PcdsDynamic.common]
|
| 187 | gEmbeddedTokenSpaceGuid.PcdFdtDevicePaths|L""|VOID*|0x00000055
|