From 4ccef56102cc104ad0bc881f5312f84fb4e569ef Mon Sep 17 00:00:00 2001 From: "Dong, Guo" Date: Fri, 15 Aug 2014 08:10:55 +0000 Subject: 1) Update code to use PcdFixedUsbCredentialProviderTokenFileName and PcdMaxVariableSize as patchable PCD instead of FixedAtBuild PCD. 2) Correct a typo in file comments of Tpm12Ownership.c Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Dong, Guo Reviewed-by: Gao, Liming Reviewed-by: Yao, Jiewen git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15811 6f19259b-4bc3-4df7-8a09-765794883524 --- SecurityPkg/SecurityPkg.dec | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'SecurityPkg/SecurityPkg.dec') diff --git a/SecurityPkg/SecurityPkg.dec b/SecurityPkg/SecurityPkg.dec index 68ac464ac6..1d44095af4 100644 --- a/SecurityPkg/SecurityPkg.dec +++ b/SecurityPkg/SecurityPkg.dec @@ -216,10 +216,6 @@ # IMAGE_FROM_FIXED_MEDIA 0x00000010 gEfiSecurityPkgTokenSpaceGuid.PcdDeferImageLoadPolicy|0x0000001F|UINT32|0x0000004 - ## The token file name used to save credential in USB credential provider driver. - # The specified file should be saved at the root directory of USB storage disk. - gEfiSecurityPkgTokenSpaceGuid.PcdFixedUsbCredentialProviderTokenFileName|L"Token.bin"|VOID*|0x00000005 - ## The size of Append variable buffer. This buffer is reserved for runtime use, OS can append data into one existing variable. gEfiSecurityPkgTokenSpaceGuid.PcdMaxAppendVariableSize|0x2000|UINT32|0x30000005 @@ -229,6 +225,12 @@ # If 1, TCG platform type is server. gEfiSecurityPkgTokenSpaceGuid.PcdTpmPlatformClass|0|UINT8|0x00000006 +[PcdsFixedAtBuild, PcdsPatchableInModule] + ## Null-terminated Unicode string of the file name that is the default name to save USB credential. + # The specified file should be saved at the root directory of USB storage disk. + # @Prompt File name to save credential. + gEfiSecurityPkgTokenSpaceGuid.PcdFixedUsbCredentialProviderTokenFileName|L"Token.bin"|VOID*|0x00000005 + [PcdsFixedAtBuild, PcdsPatchableInModule, PcdsDynamic, PcdsDynamicEx] ## This PCD indicates the presence or absence of the platform operator. gEfiSecurityPkgTokenSpaceGuid.PcdTpmPhysicalPresence|TRUE|BOOLEAN|0x00010001 -- cgit