diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-09-12 06:43:36 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2010-09-12 06:43:36 +0000 |
commit | 18b144ea424e476f14839e9d9d3b81fb4820a613 (patch) | |
tree | 99df88301cc7c317753b0f6ea04e664b9a51856b /SourceLevelDebugPkg/SourceLevelDebugPkg.dec | |
parent | bf45bbe53d8759a5f02e036dd40d1772a10af14f (diff) | |
download | edk2-platforms-18b144ea424e476f14839e9d9d3b81fb4820a613.tar.xz |
Import SourceLevelDebugPkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10867 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'SourceLevelDebugPkg/SourceLevelDebugPkg.dec')
-rw-r--r-- | SourceLevelDebugPkg/SourceLevelDebugPkg.dec | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/SourceLevelDebugPkg/SourceLevelDebugPkg.dec b/SourceLevelDebugPkg/SourceLevelDebugPkg.dec new file mode 100644 index 0000000000..798c0672cb --- /dev/null +++ b/SourceLevelDebugPkg/SourceLevelDebugPkg.dec @@ -0,0 +1,74 @@ +## @file SourceLevelDebugPkg.dec
+#
+# This package provides target side modules to support source level debug.
+# The target side components includes the Debug Agent Library instance
+# to communicate with host side modules, Debug Communication Library and
+# instances to provide the communication I/O functions between Debug Agent
+# and host, PeCoffExtraActionLib instance to report symbol path information,
+# etc.
+#
+# Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
+# This program and the accompanying materials are licensed and made available under
+# the terms and conditions of the BSD License that accompanies this distribution.
+# The full text of the license may be found at
+# http://opensource.org/licenses/bsd-license.php.
+#
+# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
+#
+##
+
+[Defines]
+ DEC_SPECIFICATION = 0x00010005
+ PACKAGE_NAME = SourceLevelDebugtPkg
+ PACKAGE_GUID = DBF00C27-D8D7-443d-918B-4E85CDA1373B
+ PACKAGE_VERSION = 0.70
+
+[Includes]
+ Include
+
+[Includes.IA32]
+ Include/Ia32
+
+[Includes.X64]
+ Include/Ia32
+
+[LibraryClasses]
+ ## @libraryclass Provides communication I/O functions between Debug Agent and HOST.
+ ##
+ DebugCommunicationLib|Include/Library/DebugCommunicationLib.h
+
+[Guids]
+ ## MdeModule package token space guid
+ # Include/Guid/DebugAgentGuid.h
+ gEfiDebugAgentGuid = {0x865a5a9b, 0xb85d, 0x474c, { 0x84, 0x55, 0x65, 0xd1, 0xbe, 0x84, 0x4b, 0xe2 }}
+ gEfiSourceLevelDebugPkgTokenSpaceGuid = {0x865a5aab, 0xb85d, 0x474c, { 0x84, 0x55, 0x65, 0xd1, 0xbe, 0x84, 0x4b, 0xe2 }}
+
+[PcdsFixedAtBuild, PcdsPatchableInModule]
+ ## The memory BAR of usb debug port, it may be different with the memory bar of ehci host controller.
+ ## Note that the memory BAR address is only used before Pci bus resource allocation.
+ gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbDebugPortMemorySpaceBase|0xd0000000|UINT32|0x00000001
+
+ ## The memory BAR of ehci host controller, in which usb debug feature is enabled.
+ ## Note that the memory BAR address is only used before Pci bus resource allocation.
+ gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbEhciMemorySpaceBase|0xd0000000|UINT32|0x00000002
+
+ ## The pci address of ehci host controller, in which usb debug feature is enabled.
+ ## The format of pci address is :
+ ## -----------------------------------------------------------------------
+ ## | Bits 28..31 | Bits 20..27 | Bits 15..19 | Bits 12..14 | Bits 00..11 |
+ ## -----------------------------------------------------------------------
+ ## | 0 | Bus | Device | Function | 0 |
+ ## -----------------------------------------------------------------------
+ ##
+ ## For the value below, it means the pci address at bus 0x0, device 0x1D, function 0x7.
+ gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbEhciPciAddress|0x000EF000|UINT32|0x00000003
+
+ ## The mask of exception numbers whose handlers would be ignored and cannot be replaced or
+ ## hooked by Debug Agent Library.
+ gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdExceptionsIgnoredByDebugger|0x00000000|UINT32|0x00000004
+
+ ## The method to issue break point to Debug Agent Library when Loading/UnLoading image.
+ ## 1: Use I/O Port 84 to issue hardware break point
+ ## 2: Use INT3 to issue software break point
+ gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x1|UINT8|0x00000005
|