Replace INTERWORK_FUNC, with GCC_ASM_EXPORT() and GCC_ASM_IMPORT() and update the...
[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
2ef2b01e 6#\r
2ef2b01e
A
7# This program and the accompanying materials are licensed and made available under\r
8# the terms and conditions of the BSD License which accompanies this distribution.\r
9# The full text of the license may be found at\r
10# http://opensource.org/licenses/bsd-license.php\r
11#\r
12# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
13# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
14#\r
15#**/\r
16\r
17[Defines]\r
18 DEC_SPECIFICATION = 0x00010005\r
19 PACKAGE_NAME = EmbeddedPkg\r
20 PACKAGE_GUID = dea8e498-7e1b-47c1-b6fa-4bc04092587e\r
21 PACKAGE_VERSION = 0.1\r
22\r
23\r
24################################################################################\r
25#\r
26# Include Section - list of Include Paths that are provided by this package.\r
27# Comments are used for Keywords and Module Types.\r
28#\r
29# Supported Module Types:\r
30# BASE SEC PEI_CORE PEIM DXE_CORE DXE_DRIVER DXE_RUNTIME_DRIVER DXE_SMM_DRIVER DXE_SAL_DRIVER UEFI_DRIVER UEFI_APPLICATION\r
31#\r
32################################################################################\r
33[Includes.common]\r
34 Include # Root include for the package\r
35\r
36[LibraryClasses.common]\r
37 EfiFileLib|Include/Library/EfiFileLib.h\r
38 PrePiLib|Include/Library/PrePiLib.h\r
39 RealTimeClockLib|Include/Library/RealTimeClockLib.h\r
40 EfiResetSystemLib|Include/Library/EfiResetSystemLib.h\r
41 EblCmdLib|Include/Library/EblCmdLib.h\r
969eba7b 42 EblAddExternalCommandLib|Include/Library/EblAddExternalCommandLib.h\r
43 EblNetworkLib|Include/Library/EblNetworkLib.h\r
2ef2b01e 44 GdbSerialLib|Include/Library/GdbSerialLib.h\r
969eba7b 45 DebugAgentTimerLib|Include/Library/DebugAgentTimerLib.h\r
2ef2b01e
A
46\r
47\r
48[Guids.common]\r
49 gEmbeddedTokenSpaceGuid = { 0xe0d8ca17, 0x4276, 0x4386, { 0xbb, 0x79, 0x48, 0xcb, 0x81, 0x3d, 0x3c, 0x4f }}\r
50\r
51[Protocols.common]\r
52 gHardwareInterruptProtocolGuid = { 0x2890B3EA, 0x053D, 0x1643, { 0xAD, 0x0C, 0xD6, 0x48, 0x08, 0xDA, 0x3F, 0xF1 } }\r
53 gEfiDebugSupportPeriodicCallbackProtocolGuid = { 0x9546e07c, 0x2cbb, 0x4c88, { 0x98, 0x6c, 0xcd, 0x34, 0x10, 0x86, 0xf0, 0x44 } }\r
54 gEfiEblAddCommandProtocolGuid = { 0xaeda2428, 0x9a22, 0x4637, { 0x9b, 0x21, 0x54, 0x5e, 0x28, 0xfb, 0xb8, 0x29 } }\r
55 gEmbeddedDeviceGuid = { 0xbf4b9d10, 0x13ec, 0x43dd, { 0x88, 0x80, 0xe9, 0xb, 0x71, 0x8f, 0x27, 0xde } }\r
56 gEmbeddedExternalDeviceProtocolGuid = { 0x735F8C64, 0xD696, 0x44D0, { 0xBD, 0xF2, 0x44, 0x7F, 0xD0, 0x5A, 0x54, 0x06 }}\r
57 gEmbeddedGpioProtocolGuid = { 0x17a0a3d7, 0xc0a5, 0x4635, { 0xbb, 0xd5, 0x07, 0x21, 0x87, 0xdf, 0xe2, 0xee }}\r
e4dbec73 58 gPeCoffLoaderProtocolGuid = { 0xB323179B, 0x97FB, 0x477E, { 0xB0, 0xFE, 0xD8, 0x85, 0x91, 0xFA, 0x11, 0xAB } }\r
2ef2b01e
A
59 \r
60[PcdsFeatureFlag.common]\r
61 gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|FALSE|BOOLEAN|0x00000001\r
62 gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE|BOOLEAN|0x00000002\r
63 gEmbeddedTokenSpaceGuid.PcdEmbeddedHobCmd|TRUE|BOOLEAN|0x00000003\r
64 gEmbeddedTokenSpaceGuid.PcdEmbeddedHwDebugCmd|TRUE|BOOLEAN|0x00000004\r
65 gEmbeddedTokenSpaceGuid.PcdEmbeddedIoEnable|FALSE|BOOLEAN|0x00000005\r
66 gEmbeddedTokenSpaceGuid.PcdEmbeddedScriptCmd|FALSE|BOOLEAN|0x00000006\r
67 gEmbeddedTokenSpaceGuid.PcdEmbeddedPciDebugCmd|FALSE|BOOLEAN|0x00000041\r
884366cf 68 gEmbeddedTokenSpaceGuid.PcdEmbeddedProbeRemovable|TRUE|BOOLEAN|0x00000050\r
69 \r
2ef2b01e
A
70 gEmbeddedTokenSpaceGuid.PcdPrePiProduceMemoryTypeInformationHob|FALSE|BOOLEAN|0x0000001b\r
71 gEmbeddedTokenSpaceGuid.PcdCacheEnable|FALSE|BOOLEAN|0x00000042\r
eca37a31 72 gEmbeddedTokenSpaceGuid.PcdGdbSerial|FALSE|BOOLEAN|0x00000051\r
2ef2b01e
A
73\r
74\r
75[PcdsFixedAtBuild.common]\r
76 gEmbeddedTokenSpaceGuid.PcdEmbeddedAutomaticBootCommand|L""|VOID*|0x00000007\r
77 gEmbeddedTokenSpaceGuid.PcdEmbeddedDefaultTextColor|0x07|UINT32|0x00000008\r
78 gEmbeddedTokenSpaceGuid.PcdEmbeddedMemVariableStoreSize|0x10000|UINT32|0x00000009\r
884366cf 79 gEmbeddedTokenSpaceGuid.PcdEmbeddedPrompt|"Ebl %a"|VOID*|0x00000034\r
2ef2b01e
A
80\r
81 gEmbeddedTokenSpaceGuid.PcdPrePiHobBase|131072|UINT32|0x00000040\r
82 gEmbeddedTokenSpaceGuid.PcdPrePiStackBase|0|UINT32|0x0000000b\r
83 gEmbeddedTokenSpaceGuid.PcdPrePiStackSize|131072|UINT32|0x0000000c\r
84 gEmbeddedTokenSpaceGuid.PcdPrePiTempMemorySize|0|UINT32|0x000000d\r
85 gEmbeddedTokenSpaceGuid.PcdPrePiBfvBaseAddress|0|UINT32|0x000000e\r
86 gEmbeddedTokenSpaceGuid.PcdPrePiBfvSize|0|UINT32|0x0000000f\r
87 gEmbeddedTokenSpaceGuid.PcdPrePiCpuMemorySize|32|UINT8|0x00000010\r
88 gEmbeddedTokenSpaceGuid.PcdPrePiCpuIoSize|0|UINT8|0x00000011\r
89 \r
753816a3 90 gEmbeddedTokenSpaceGuid.PcdMemoryBase|0x0|UINT32|0x0000004e\r
91 gEmbeddedTokenSpaceGuid.PcdMemorySize|0x0|UINT32|0x0000004f\r
92\r
2ef2b01e
A
93 gEmbeddedTokenSpaceGuid.PcdFlashFvMainBase|0x0|UINT32|0x00000043\r
94 gEmbeddedTokenSpaceGuid.PcdFlashFvMainOffset|0x0|UINT32|0x00000044\r
eca37a31 95 gEmbeddedTokenSpaceGuid.PcdFlashFvMainSize|0x0|UINT32|0x00000045\r
2ef2b01e
A
96\r
97 \r
98# Used to help reduce fragmentation in the EFI memory map\r
99# EFI Pages (4K) are the units used\r
100 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIReclaimMemory|0|UINT32|0x00000012\r
101 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiACPIMemoryNVS|0|UINT32|0x00000013\r
102 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiReservedMemoryType|0|UINT32|0x00000014\r
103 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesData|0|UINT32|0x00000015\r
104 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiRuntimeServicesCode|0|UINT32|0x00000016\r
105 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesCode|0|UINT32|0x00000017\r
106 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiBootServicesData|0|UINT32|0x00000018\r
107 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderCode|0|UINT32|0x00000019\r
108 gEmbeddedTokenSpaceGuid.PcdMemoryTypeEfiLoaderData|0|UINT32|0x0000001a\r
109\r
110 gEmbeddedTokenSpaceGuid.PcdTimerBaseAddress|0x3c700000|UINT32|0x0000001c\r
111 gEmbeddedTokenSpaceGuid.PcdTimerVector|7|UINT32|0x0000001d\r
112 gEmbeddedTokenSpaceGuid.PcdTimerPeriod|100000|UINT32|0x0000001e\r
113 gEmbeddedTokenSpaceGuid.PcdInterruptBaseAddress|0x38e00000|UINT32|0x0000001f\r
114 \r
115 gEmbeddedTokenSpaceGuid.PcdEmbeddedFdBaseAddress|0xffff0000|UINT32|0x00000030\r
116 gEmbeddedTokenSpaceGuid.PcdEmbeddedFdSize|0x0000000|UINT32|0x00000031\r
6f6e0596 117 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterFrequencyInHz|0x0000000|UINT64|0x00000032\r
118 gEmbeddedTokenSpaceGuid.PcdEmbeddedPerformanceCounterPeriodInNanoseconds|0x0000000|UINT32|0x00000033\r
2ef2b01e
A
119\r
120# Shell characteristics\r
121 gEmbeddedTokenSpaceGuid.PcdEmbeddedShellCharacterEcho|TRUE|BOOLEAN|0x00000046\r
122\r
123 gEmbeddedTokenSpaceGuid.PcdGdbBaudRate|115200|UINT64|0x00000047\r
124 gEmbeddedTokenSpaceGuid.PcdGdbDataBits|8|UINT8|0x00000048\r
125 gEmbeddedTokenSpaceGuid.PcdGdbParity|1|UINT8|0x00000049\r
126 gEmbeddedTokenSpaceGuid.PcdGdbStopBits|1|UINT8|0x0000004a\r
127 gEmbeddedTokenSpaceGuid.PcdGdbUartPort|0x3f8|UINT32|0x0000004b\r
128 gEmbeddedTokenSpaceGuid.PcdGdbMaxPacketRetryCount|10000000|UINT32|0x0000004c\r
6f6e0596 129 gEmbeddedTokenSpaceGuid.PcdGdbTimerPeriodMilliseconds|250|UINT32|0x0000004d\r
2ef2b01e
A
130 \r
131 \r
132\r