diff options
author | Hao Wu <hao.a.wu@intel.com> | 2017-09-01 09:32:10 +0800 |
---|---|---|
committer | Hao Wu <hao.a.wu@intel.com> | 2017-09-04 09:01:16 +0800 |
commit | c00ad62378b1594c9af0f9ebbcc2e30d05a2121e (patch) | |
tree | 978131adc5374c251b2d225de1f6ab02e203b6b6 /SourceLevelDebugPkg/SourceLevelDebugPkg.dec | |
parent | db52890926b6ecff9a416b3beda9c97c83f9fc60 (diff) | |
download | edk2-c00ad62378b1594c9af0f9ebbcc2e30d05a2121e.tar.gz edk2-c00ad62378b1594c9af0f9ebbcc2e30d05a2121e.tar.bz2 edk2-c00ad62378b1594c9af0f9ebbcc2e30d05a2121e.zip |
SourceLevelDebugPkg: Use Pcd for the revision of transfer protocol
V3 changes:
Add detailed description for the usage of the Pcd in package DEC file.
Update the comment for the introduced Pcd in module INF files.
V2 changes:
Instead of using a global variable, use a Pcd for transfer protocol
revision.
Previously, the revision of the debug agent transfer protocol is
reflected by a macro.
This commit introduces a Pcd to reflect the revision in order to avoid the
comparison of two macros, which will generate a constant result detected
by code checkers.
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Hao Wu <hao.a.wu@intel.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
Diffstat (limited to 'SourceLevelDebugPkg/SourceLevelDebugPkg.dec')
-rw-r--r-- | SourceLevelDebugPkg/SourceLevelDebugPkg.dec | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/SourceLevelDebugPkg/SourceLevelDebugPkg.dec b/SourceLevelDebugPkg/SourceLevelDebugPkg.dec index 9579c3e006..c9a47f6255 100644 --- a/SourceLevelDebugPkg/SourceLevelDebugPkg.dec +++ b/SourceLevelDebugPkg/SourceLevelDebugPkg.dec @@ -6,7 +6,7 @@ # and host, PeCoffExtraActionLib instance to report symbol path information,
# etc.
#
-# Copyright (c) 2010 - 2015, Intel Corporation. All rights reserved.<BR>
+# Copyright (c) 2010 - 2017, 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
@@ -112,5 +112,12 @@ # @Prompt Configure debug device detection timeout value.
gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdUsbXhciDebugDetectTimeout|3000000|UINT64|0x00000009
+ ## Default revision of the debug agent transfer protocol.
+ # The upper 16 bits indicate the major revision and the lower 16 bits indicate the minor revision.
+ # For example, a value of 0x00000004 stands for revision 0.4.
+ # Debug packet compression and decompression is supported since revision 0.4.
+ # @Prompt Default revision of the debug agent transfer protocol.
+ gEfiSourceLevelDebugPkgTokenSpaceGuid.PcdTransferProtocolRevision|0x00000004|UINT32|0x0000000a
+
[UserExtensions.TianoCore."ExtraFiles"]
SourceLevelDebugPkgExtra.uni
|