]> git.proxmox.com Git - mirror_edk2.git/blob - SourceLevelDebugPkg/SourceLevelDebugPkg.dec
SourceLevelDebugPkg: Pack CPU context structures
[mirror_edk2.git] / SourceLevelDebugPkg / SourceLevelDebugPkg.dec
1 ## @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 #
10 # Copyright (c) 2010, Intel Corporation. All rights reserved.<BR>
11 # 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
23 PACKAGE_NAME = SourceLevelDebugtPkg
24 PACKAGE_GUID = DBF00C27-D8D7-443d-918B-4E85CDA1373B
25 PACKAGE_VERSION = 0.70
26
27 [Includes]
28 Include
29
30 [Includes.IA32]
31 Include/Ia32
32
33 [Includes.X64]
34 Include/Ia32
35
36 [LibraryClasses]
37 ## @libraryclass Provides communication I/O functions between Debug Agent and HOST.
38 ##
39 DebugCommunicationLib|Include/Library/DebugCommunicationLib.h
40
41 [Guids]
42 ## MdeModule package token space guid
43 # Include/Guid/DebugAgentGuid.h
44 gEfiDebugAgentGuid = {0x865a5a9b, 0xb85d, 0x474c, { 0x84, 0x55, 0x65, 0xd1, 0xbe, 0x84, 0x4b, 0xe2 }}
45 gEfiSourceLevelDebugPkgTokenSpaceGuid = {0x865a5aab, 0xb85d, 0x474c, { 0x84, 0x55, 0x65, 0xd1, 0xbe, 0x84, 0x4b, 0xe2 }}
46
47 [PcdsFixedAtBuild, PcdsPatchableInModule]
48 ## The memory BAR of usb debug port, it may be different with the memory bar of ehci host controller.
49 ## Note that the memory BAR address is only used before Pci bus resource allocation.
50 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbDebugPortMemorySpaceBase|0xd0000000|UINT32|0x00000001
51
52 ## The memory BAR of ehci host controller, in which usb debug feature is enabled.
53 ## Note that the memory BAR address is only used before Pci bus resource allocation.
54 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbEhciMemorySpaceBase|0xd0000000|UINT32|0x00000002
55
56 ## The pci address of ehci host controller, in which usb debug feature is enabled.
57 ## The format of pci address is :
58 ## -----------------------------------------------------------------------
59 ## | Bits 28..31 | Bits 20..27 | Bits 15..19 | Bits 12..14 | Bits 00..11 |
60 ## -----------------------------------------------------------------------
61 ## | 0 | Bus | Device | Function | 0 |
62 ## -----------------------------------------------------------------------
63 ##
64 ## For the value below, it means the pci address at bus 0x0, device 0x1D, function 0x7.
65 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbEhciPciAddress|0x000EF000|UINT32|0x00000003
66
67 ## The mask of exception numbers whose handlers would be ignored and cannot be replaced or
68 ## hooked by Debug Agent Library.
69 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdExceptionsIgnoredByDebugger|0x00000000|UINT32|0x00000004
70
71 ## The method to issue break point to Debug Agent Library when Loading/UnLoading image.
72 ## 1: Use I/O Port 84 to issue hardware break point
73 ## 2: Use INT3 to issue software break point
74 gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdDebugLoadImageMethod|0x1|UINT8|0x00000005