]> git.proxmox.com Git - mirror_edk2.git/blame - EmbeddedPkg/EmbeddedPkg.dec
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / EmbeddedPkg / EmbeddedPkg.dec
CommitLineData
2ef2b01e
A
1#/** @file\r
2# Framework Module Development Environment Industry Standards\r
3#\r
4# This Package provides headers and libraries that conform to EFI/PI Industry standards.\r
60274cca 5# Copyright (c) 2007, Intel Corporation. All rights reserved.<BR>\r
f6342447 6# Copyright (c) 2012-2015, ARM Ltd. All rights reserved.<BR>\r
4395f82e 7# Copyright (c) 2017, Linaro Ltd. All rights reserved.<BR>\r
2ef2b01e 8#\r
878b807a 9# SPDX-License-Identifier: BSD-2-Clause-Patent\r
2ef2b01e
A
10#\r
11#**/\r
12\r
13[Defines]\r
14 DEC_SPECIFICATION = 0x00010005\r
15 PACKAGE_NAME = EmbeddedPkg\r
16 PACKAGE_GUID = dea8e498-7e1b-47c1-b6fa-4bc04092587e\r
17 PACKAGE_VERSION = 0.1\r
18\r
19\r
20################################################################################\r
21#\r
22# Include Section - list of Include Paths that are provided by this package.\r
23# Comments are used for Keywords and Module Types.\r
24#\r
25# Supported Module Types:\r
26# BASE SEC PEI_CORE PEIM DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER DXE_SAL_DRIVER UEFI_DRIVER UEFI_APPLICATION\r
27#\r
28################################################################################\r
29[Includes.common]\r
30 Include # Root include for the package\r
31\r
32[LibraryClasses.common]\r
2ef2b01e
A
33 PrePiLib|Include/Library/PrePiLib.h\r
34 RealTimeClockLib|Include/Library/RealTimeClockLib.h\r
35 EfiResetSystemLib|Include/Library/EfiResetSystemLib.h\r
2ef2b01e 36 GdbSerialLib|Include/Library/GdbSerialLib.h\r
969eba7b 37 DebugAgentTimerLib|Include/Library/DebugAgentTimerLib.h\r
70466101 38 NorFlashInfoLib|Include/Library/NorFlashInfoLib.h\r
43c11115
MK
39 HalRuntimeServicesLib|Include/Library/HalRuntimeServicesLib.h\r
40 PrePiHobListPointerLib|Include/Library/PrePiHobListPointerLib.h\r
41 TimeBaseLib|Include/Library/TimeBaseLib.h\r
42 AcpiLib|Include/Library/AcpiLib.h\r
43 AndroidBootImgLib|Include/Library/AndroidBootImgLib.h\r
44 DmaLib|Include/Library/DmaLib.h\r
45 EfiFileLib|Include/Library/EfiFileLib.h\r
46 FdtLoadLib|Include/Library/FdtLoadLib.h\r
2ef2b01e 47\r
449a5df4 48 DtPlatformDtbLoaderLib|Include/Library/DtPlatformDtbLoaderLib.h\r
2ef2b01e
A
49\r
50[Guids.common]\r
51 gEmbeddedTokenSpaceGuid = { 0xe0d8ca17, 0x4276, 0x4386, { 0xbb, 0x79, 0x48, 0xcb, 0x81, 0x3d, 0x3c, 0x4f }}\r
52\r
90152e59
OM
53 ## FDT Configuration Table\r
54 # Include/Guid/Fdt.h\r
55 gFdtTableGuid = { 0xb1b621d5, 0xf19c, 0x41a5, { 0x83, 0x0b, 0xd9, 0x15, 0x2c, 0x69, 0xaa, 0xe0 } }\r
cc667df0
AB
56 # Include/Guid/FdtHob.h\r
57 gFdtHobGuid = { 0x16958446, 0x19B7, 0x480B, { 0xB0, 0x47, 0x74, 0x85, 0xAD, 0x3F, 0x71, 0x6D } }\r
158497a0 58 gFdtVariableGuid = { 0x25a4fd4a, 0x9703, 0x4ba9, { 0xa1, 0x90, 0xb7, 0xc8, 0x4e, 0xfb, 0x3e, 0x57 } }\r
90152e59 59\r
65a69b21
LE
60 ## Include/Guid/PlatformHasDeviceTree.h\r
61 gEdkiiPlatformHasDeviceTreeGuid = { 0x7ebb920d, 0x1aaf, 0x46d9, { 0xb2, 0xaf, 0x54, 0x1e, 0x1d, 0xce, 0x14, 0x8b } }\r
62\r
779cc439
AB
63 # HII form set GUID for DtPlatformDxe driver\r
64 gDtPlatformFormSetGuid = { 0x2b7a240d, 0xd5ad, 0x4fd6, { 0xbe, 0x1c, 0xdf, 0xa4, 0x41, 0x5f, 0x55, 0x26 } }\r
65\r
66 # File GUID for default DTB image embedded in the firmware volume\r
67 gDtPlatformDefaultDtbFileGuid = { 0x25462cda, 0x221f, 0x47df, { 0xac, 0x1d, 0x25, 0x9c, 0xfa, 0xa4, 0xe3, 0x26 } }\r
68\r
d8e36289
AB
69 # HII form set GUID for ConsolePrefDxe driver\r
70 gConsolePrefFormSetGuid = { 0x2d2358b4, 0xe96c, 0x484d, { 0xb2, 0xdd, 0x7c, 0x2e, 0xdf, 0xc7, 0xd5, 0x6f } }\r
71\r
7ab26d51
LE
72 ## Include/Guid/NvVarStoreFormatted.h\r
73 gEdkiiNvVarStoreFormattedGuid = { 0xd1a86e3f, 0x0707, 0x4c35, { 0x83, 0xcd, 0xdc, 0x2c, 0x29, 0xc8, 0x91, 0xa3 } }\r
74\r
2ef2b01e
A
75[Protocols.common]\r
76 gHardwareInterruptProtocolGuid = { 0x2890B3EA, 0x053D, 0x1643, { 0xAD, 0x0C, 0xD6, 0x48, 0x08, 0xDA, 0x3F, 0xF1 } }\r
e40c7289 77 gHardwareInterrupt2ProtocolGuid = { 0x32898322, 0x2da1, 0x474a, { 0xba, 0xaa, 0xf3, 0xf7, 0xcf, 0x56, 0x94, 0x70 } }\r
2ef2b01e
A
78 gEmbeddedDeviceGuid = { 0xbf4b9d10, 0x13ec, 0x43dd, { 0x88, 0x80, 0xe9, 0xb, 0x71, 0x8f, 0x27, 0xde } }\r
79 gEmbeddedExternalDeviceProtocolGuid = { 0x735F8C64, 0xD696, 0x44D0, { 0xBD, 0xF2, 0x44, 0x7F, 0xD0, 0x5A, 0x54, 0x06 }}\r
80 gEmbeddedGpioProtocolGuid = { 0x17a0a3d7, 0xc0a5, 0x4635, { 0xbb, 0xd5, 0x07, 0x21, 0x87, 0xdf, 0xe2, 0xee }}\r
e4dbec73 81 gPeCoffLoaderProtocolGuid = { 0xB323179B, 0x97FB, 0x477E, { 0xB0, 0xFE, 0xD8, 0x85, 0x91, 0xFA, 0x11, 0xAB } }\r
2a7a1223 82 gEmbeddedMmcHostProtocolGuid = { 0x3e591c00, 0x9e4a, 0x11df, {0x92, 0x44, 0x00, 0x02, 0xA5, 0xD5, 0xC5, 0x1B }}\r
d8fd8862 83 gAndroidFastbootTransportProtocolGuid = { 0x74bd9fe0, 0x8902, 0x11e3, {0xb9, 0xd3, 0xf7, 0x22, 0x38, 0xfc, 0x9a, 0x31}}\r
ddd14366 84 gAndroidFastbootPlatformProtocolGuid = { 0x524685a0, 0x89a0, 0x11e3, {0x9d, 0x4d, 0xbf, 0xa9, 0xf6, 0xa4, 0x03, 0x08}}\r
d972f80b 85 gUsbDeviceProtocolGuid = { 0x021bd2ca, 0x51d2, 0x11e3, {0x8e, 0x56, 0xb7, 0x54, 0x17, 0xc7, 0x0b, 0x44 }}\r
7e074d15 86 gPlatformBootManagerProtocolGuid = { 0x7197c8a7, 0x6559, 0x4c93, { 0x93, 0xd5, 0x8a, 0x84, 0xf9, 0x88, 0x79, 0x8b }}\r
78741ce9 87 gPlatformGpioProtocolGuid = { 0x52ce9845, 0x5af4, 0x43e2, {0xba, 0xfd, 0x23, 0x08, 0x12, 0x54, 0x7a, 0xc2 }}\r
1df5fb2d 88 gPlatformVirtualKeyboardProtocolGuid = { 0x0e3606d2, 0x1dc3, 0x4e6f, { 0xbe, 0x65, 0x39, 0x49, 0x82, 0xa2, 0x65, 0x47 }}\r
fa74dd22 89 gAndroidBootImgProtocolGuid = { 0x9859bb19, 0x407c, 0x4f8b, {0xbc, 0xe1, 0xf8, 0xda, 0x65, 0x65, 0xf4, 0xa5 }}\r
e40fefaf 90 gFdtClientProtocolGuid = { 0xE11FACA0, 0x4710, 0x4C8E, { 0xA7, 0xA2, 0x01, 0xBA, 0xA2, 0x59, 0x1B, 0x4C } }\r
62d441fb 91\r
b1832e16
AB
92[Ppis]\r
93 gEdkiiEmbeddedGpioPpiGuid = { 0x21c3b115, 0x4e0b, 0x470c, { 0x85, 0xc7, 0xe1, 0x05, 0xa5, 0x75, 0xc9, 0x7b }}\r
94\r
2ef2b01e 95[PcdsFeatureFlag.common]\r
2ef2b01e 96 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|FALSE|BOOLEAN|0x0000001b\r
fb334ef6 97 gEmbeddedTokenSpaceGuid.PcdGdbSerial|FALSE|BOOLEAN|0x00000053\r
7ea7f9c0 98 gEmbeddedTokenSpaceGuid.PcdAndroidBootLoadFile2|FALSE|BOOLEAN|0x0000005b\r
2ef2b01e 99\r
2ef2b01e 100[PcdsFixedAtBuild.common]\r
2ef2b01e
A
101 gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0|UINT32|0x0000000b\r
102 gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|131072|UINT32|0x0000000c\r
3402aac7 103\r
753816a3 104 gEmbeddedTokenSpaceGuid.PcdMemoryBase|0x0|UINT32|0x0000004e\r
105 gEmbeddedTokenSpaceGuid.PcdMemorySize|0x0|UINT32|0x0000004f\r
106\r
2ef2b01e
A
107 gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|0x0|UINT32|0x00000043\r
108 gEmbeddedTokenSpaceGuid.PcdFlashFvMainOffset|0x0|UINT32|0x00000044\r
eca37a31 109 gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize|0x0|UINT32|0x00000045\r
3402aac7 110\r
2ef2b01e
A
111# Used to help reduce fragmentation in the EFI memory map\r
112# EFI Pages (4K) are the units used\r
113 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0|UINT32|0x00000012\r
114 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0|UINT32|0x00000013\r
115 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0|UINT32|0x00000014\r
116 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0|UINT32|0x00000015\r
117 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0|UINT32|0x00000016\r
118 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|0|UINT32|0x00000017\r
119 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|0|UINT32|0x00000018\r
120 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|0|UINT32|0x00000019\r
121 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0|UINT32|0x0000001a\r
122\r
123 gEmbeddedTokenSpaceGuid.PcdTimerBaseAddress|0x3c700000|UINT32|0x0000001c\r
124 gEmbeddedTokenSpaceGuid.PcdTimerVector|7|UINT32|0x0000001d\r
125 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000|UINT32|0x0000001e\r
126 gEmbeddedTokenSpaceGuid.PcdInterruptBaseAddress|0x38e00000|UINT32|0x0000001f\r
0e568a7b 127\r
128 gEmbeddedTokenSpaceGuid.PcdMetronomeTickPeriod|100|UINT32|0x00000020\r
3402aac7 129\r
2ef2b01e
A
130 gEmbeddedTokenSpaceGuid.PcdEmbeddedFdBaseAddress|0xffff0000|UINT32|0x00000030\r
131 gEmbeddedTokenSpaceGuid.PcdEmbeddedFdSize|0x0000000|UINT32|0x00000031\r
6f6e0596 132 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|0x0000000|UINT64|0x00000032\r
133 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds|0x0000000|UINT32|0x00000033\r
2ef2b01e 134\r
2ef2b01e
A
135 gEmbeddedTokenSpaceGuid.PcdGdbBaudRate|115200|UINT64|0x00000047\r
136 gEmbeddedTokenSpaceGuid.PcdGdbDataBits|8|UINT8|0x00000048\r
137 gEmbeddedTokenSpaceGuid.PcdGdbParity|1|UINT8|0x00000049\r
138 gEmbeddedTokenSpaceGuid.PcdGdbStopBits|1|UINT8|0x0000004a\r
139 gEmbeddedTokenSpaceGuid.PcdGdbUartPort|0x3f8|UINT32|0x0000004b\r
140 gEmbeddedTokenSpaceGuid.PcdGdbMaxPacketRetryCount|10000000|UINT32|0x0000004c\r
6f6e0596 141 gEmbeddedTokenSpaceGuid.PcdGdbTimerPeriodMilliseconds|250|UINT32|0x0000004d\r
2ef2b01e 142\r
d3f99770
OM
143 #\r
144 # Android FastBoot\r
145 #\r
146\r
147 # The Android FastBoot utility has hard-coded USB Vendor IDs that it recognises\r
148 # (and 0xf00d isn't one of them!).\r
149 # You'll need to pass it "-i 0xf00d" to get it to recognise this device.\r
150 gEmbeddedTokenSpaceGuid.PcdAndroidFastbootUsbVendorId|0xf00d|UINT32|0x00000022\r
151 gEmbeddedTokenSpaceGuid.PcdAndroidFastbootUsbProductId|0xbeef|UINT32|0x00000023\r
4d6e1e5a 152 gEmbeddedTokenSpaceGuid.PcdAndroidFastbootTcpPort|1234|UINT32|0x00000024\r
d3f99770 153\r
fa74dd22 154 gEmbeddedTokenSpaceGuid.PcdAndroidBootDevicePath|L""|VOID*|0x00000057\r
158497a0 155\r
34b292fa 156[PcdsFixedAtBuild.ARM]\r
34b292fa
OM
157 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0|UINT8|0x00000011\r
158\r
159[PcdsFixedAtBuild.AARCH64]\r
34b292fa
OM
160 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0|UINT8|0x00000011\r
161\r
162[PcdsFixedAtBuild.IA32]\r
34b292fa
OM
163 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16|UINT8|0x00000011\r
164\r
165[PcdsFixedAtBuild.X64]\r
34b292fa 166 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|16|UINT8|0x00000011\r
158497a0
RC
167\r
168[PcdsFixedAtBuild.common, PcdsDynamic.common]\r
0bcb8010
AB
169 #\r
170 # Value to add to a host address to obtain a device address, using\r
171 # unsigned 64-bit integer arithmetic. This means we can rely on\r
172 # truncation on overflow to specify negative offsets.\r
173 #\r
174 gEmbeddedTokenSpaceGuid.PcdDmaDeviceOffset|0x0|UINT64|0x0000058\r
601a18bf 175\r
62a75650
AB
176 #\r
177 # Highest address value supported by the device for DMA addressing. Note\r
178 # that this value should be strictly greater than PcdDmaDeviceOffset.\r
179 #\r
180 gEmbeddedTokenSpaceGuid.PcdDmaDeviceLimit|0xFFFFFFFFFFFFFFFF|UINT64|0x000005A\r
181\r
601a18bf
AS
182 #\r
183 # Selection between DT and ACPI as a default\r
184 #\r
185 gEmbeddedTokenSpaceGuid.PcdDefaultDtPref|TRUE|BOOLEAN|0x0000059\r