blob: 5c28e2934e1cbe98442d02ded85b713e9bf87fc3 [file] [log] [blame]
vanjeff18b144e2010-09-12 06:43:36 +00001## @file SourceLevelDebugPkg.dec
2#
3# This package provides target side modules to support source level debug.
4# The target side components includes the Debug Agent Library instance
5# to communicate with host side modules, Debug Communication Library and
6# instances to provide the communication I/O functions between Debug Agent
7# and host, PeCoffExtraActionLib instance to report symbol path information,
8# etc.
9#
Jeff Fan4d92c222014-01-10 01:21:14 +000010# Copyright (c) 2010 - 2014, Intel Corporation. All rights reserved.<BR>
vanjeff18b144e2010-09-12 06:43:36 +000011# This program and the accompanying materials are licensed and made available under
12# the terms and conditions of the BSD License that accompanies this distribution.
13# The full text of the license may be found at
14# http://opensource.org/licenses/bsd-license.php.
15#
16# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
17# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
18#
19##
20
21[Defines]
22 DEC_SPECIFICATION = 0x00010005
vanjeff894c9c62012-04-25 08:03:26 +000023 PACKAGE_NAME = SourceLevelDebugPkg
Gao, Liming865ef842014-08-28 05:14:21 +000024 PACKAGE_UNI_FILE = SourceLevelDebugPkg.uni
vanjeff18b144e2010-09-12 06:43:36 +000025 PACKAGE_GUID = DBF00C27-D8D7-443d-918B-4E85CDA1373B
Jeff Fan4d92c222014-01-10 01:21:14 +000026 PACKAGE_VERSION = 0.86
vanjeff18b144e2010-09-12 06:43:36 +000027
28[Includes]
29 Include
30
31[Includes.IA32]
32 Include/Ia32
33
34[Includes.X64]
35 Include/Ia32
36
37[LibraryClasses]
38 ## @libraryclass Provides communication I/O functions between Debug Agent and HOST.
39 ##
40 DebugCommunicationLib|Include/Library/DebugCommunicationLib.h
41
42[Guids]
43 ## MdeModule package token space guid
44 # Include/Guid/DebugAgentGuid.h
45 gEfiDebugAgentGuid = {0x865a5a9b, 0xb85d, 0x474c, { 0x84, 0x55, 0x65, 0xd1, 0xbe, 0x84, 0x4b, 0xe2 }}
46 gEfiSourceLevelDebugPkgTokenSpaceGuid = {0x865a5aab, 0xb85d, 0x474c, { 0x84, 0x55, 0x65, 0xd1, 0xbe, 0x84, 0x4b, 0xe2 }}
47
Gao, Liming865ef842014-08-28 05:14:21 +000048#
49# [Error.gEfiSourceLevelDebugPkgTokenSpaceGuid]
50# 0x80000001 | Invalid value provided.
51#
52
vanjeff18b144e2010-09-12 06:43:36 +000053[PcdsFixedAtBuild, PcdsPatchableInModule]
54 ## The memory BAR of usb debug port, it may be different with the memory bar of ehci host controller.
Gao, Liming865ef842014-08-28 05:14:21 +000055 # Note that the memory BAR address is only used before Pci bus resource allocation.
56 # @Prompt Configure usb debug port memory BAR.
vanjeff18b144e2010-09-12 06:43:36 +000057 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbDebugPortMemorySpaceBase|0xd0000000|UINT32|0x00000001
58
59 ## The memory BAR of ehci host controller, in which usb debug feature is enabled.
Gao, Liming865ef842014-08-28 05:14:21 +000060 # Note that the memory BAR address is only used before Pci bus resource allocation.
61 # @Prompt Configure ehci host controller memory BAR.
vanjeff18b144e2010-09-12 06:43:36 +000062 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbEhciMemorySpaceBase|0xd0000000|UINT32|0x00000002
63
64 ## The pci address of ehci host controller, in which usb debug feature is enabled.
Gao, Liming865ef842014-08-28 05:14:21 +000065 # The format of pci address is :<BR>
66 # -----------------------------------------------------------------------<BR>
67 # | Bits 28..31 | Bits 20..27 | Bits 15..19 | Bits 12..14 | Bits 00..11 |<BR>
68 # -----------------------------------------------------------------------<BR>
69 # | 0 | Bus | Device | Function | 0 |<BR>
70 # -----------------------------------------------------------------------<BR>
71 # For the value 0x000EF000, it means the pci address at bus 0x0, device 0x1D, function 0x7.
72 # @Prompt Configure ehci host controller pci address.
73 # @Expression 0x80000001 | (gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbEhciPciAddress & 0xF0000FFF) == 0
vanjeff18b144e2010-09-12 06:43:36 +000074 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbEhciPciAddress|0x000EF000|UINT32|0x00000003
75
76 ## The mask of exception numbers whose handlers would be ignored and cannot be replaced or
Gao, Liming865ef842014-08-28 05:14:21 +000077 # hooked by Debug Agent Library. Masking INT1/INT3 is invalid.
78 # @Prompt Configure exception numbers not to be hooked by Debug Agent.
79 # @Expression 0x80000001 | (gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdExceptionsIgnoredByDebugger & 0xA) == 0
vanjeff18b144e2010-09-12 06:43:36 +000080 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdExceptionsIgnoredByDebugger|0x00000000|UINT32|0x00000004
81
Gao, Liming865ef842014-08-28 05:14:21 +000082 ## The method to issue break point to Debug Agent Library when Loading/UnLoading image.<BR><BR>
83 # 1: Use I/O Port 84 to issue hardware break point<BR>
84 # 2: Use INT3 to issue software break point<BR>
85 # @Prompt Configure Loading/UnLoading image break method.
86 # @ValidRange 0x80000001 | 1 - 2
vanjeff18b144e2010-09-12 06:43:36 +000087 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x1|UINT8|0x00000005
vanjeffb422b622013-01-25 02:36:18 +000088
Gao, Liming865ef842014-08-28 05:14:21 +000089 ## The data buffer size used by debug port in debug communication library instances.
90 # Its value is not suggested to be changed in platform DSC file.
91 # @Prompt Assign debug port buffer size.
vanjeffb422b622013-01-25 02:36:18 +000092 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugPortHandleBufferSize|0x0|UINT16|0x00000006
93
Gao, Liming865ef842014-08-28 05:14:21 +000094[UserExtensions.TianoCore."ExtraFiles"]
95 SourceLevelDebugPkgExtra.uni