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>
(cherry picked from commit 6a10344080
)
This commit is contained in:
committed by
Yonghong Zhu
parent
f15dd88d04
commit
b650d6da4e
@ -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()
|
||||
|
Reference in New Issue
Block a user