diff options
author | Feng, Bob C <bob.c.feng@intel.com> | 2018-01-23 11:03:05 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-01-25 18:07:59 +0800 |
commit | 6a103440806c33c0aaa401cd443dc786d259397e (patch) | |
tree | db3d6d9a1c77bcfeb93ae8ad6177980cbb080488 /BaseTools/Source/Python/Workspace/DscBuildData.py | |
parent | e6bf3cfd50c1f4f6c6d4648ee89c950094d85727 (diff) | |
download | edk2-6a103440806c33c0aaa401cd443dc786d259397e.tar.gz edk2-6a103440806c33c0aaa401cd443dc786d259397e.tar.bz2 edk2-6a103440806c33c0aaa401cd443dc786d259397e.zip |
BaseTools: Add comments for the Structure Pcd definition in PcdValueInit.c file
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/DscBuildData.py')
-rw-r--r-- | BaseTools/Source/Python/Workspace/DscBuildData.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/BaseTools/Source/Python/Workspace/DscBuildData.py b/BaseTools/Source/Python/Workspace/DscBuildData.py index bc77d1a2b4..c8dba63015 100644 --- a/BaseTools/Source/Python/Workspace/DscBuildData.py +++ b/BaseTools/Source/Python/Workspace/DscBuildData.py @@ -1295,7 +1295,7 @@ class DscBuildData(PlatformBuildClassObject): CApp = CApp + ' CHAR8 *Value;\n'
CApp = CApp + ' UINT32 OriginalSize;\n'
CApp = CApp + ' VOID *OriginalPcd;\n'
- CApp = CApp + ' %s *Pcd;\n' % (Pcd.DatumType)
+ CApp = CApp + ' %s *Pcd; // From %s Line %d \n' % (Pcd.DatumType, Pcd.PkgPath, Pcd.PcdDefineLineNo)
CApp = CApp + '\n'
Pcd.DefaultValue = Pcd.DefaultValue.strip()
|