diff options
author | Star Zeng <star.zeng@intel.com> | 2016-05-20 11:36:50 +0800 |
---|---|---|
committer | Star Zeng <star.zeng@intel.com> | 2016-05-23 10:48:52 +0800 |
commit | 120ca3ceae5dfaec475907ad612e5377a3b816aa (patch) | |
tree | 6bc7f0476ce800d01b85248be773113a6887af0b | |
parent | 2bce079144889a7917bbcabae59521eccdcf7179 (diff) | |
download | edk2-120ca3ceae5dfaec475907ad612e5377a3b816aa.zip edk2-120ca3ceae5dfaec475907ad612e5377a3b816aa.tar.gz edk2-120ca3ceae5dfaec475907ad612e5377a3b816aa.tar.bz2 |
MdeModulePkg PCD: Follow PI1.4a to fix artificial limitation of SkuId range
There is absolutely no reason to artificially limit the SKU range to 1-255.
PI1.4a spec fixed the artificial limitation.
This patch is to follow PI1.4a spec to remove the sentence
"The valid SkuId range is 1 to 255." from SetSku function comments.
Cc: Liming Gao <liming.gao@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Star Zeng <star.zeng@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
-rw-r--r-- | MdeModulePkg/Universal/PCD/Dxe/Pcd.c | 6 | ||||
-rw-r--r-- | MdeModulePkg/Universal/PCD/Pei/Pcd.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/MdeModulePkg/Universal/PCD/Dxe/Pcd.c b/MdeModulePkg/Universal/PCD/Dxe/Pcd.c index 14d4784..b9cf9e4 100644 --- a/MdeModulePkg/Universal/PCD/Dxe/Pcd.c +++ b/MdeModulePkg/Universal/PCD/Dxe/Pcd.c @@ -1,9 +1,9 @@ /** @file
PCD DXE driver manage all PCD entry initialized in PEI phase and DXE phase, and
produce the implementation of native PCD protocol and EFI_PCD_PROTOCOL defined in
- PI 1.2 Vol3.
+ PI 1.4a Vol3.
-Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2016, 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
which accompanies this distribution. The full text of the license may be found at
@@ -252,7 +252,7 @@ DxeGetPcdInfoGetSku ( or multiple values, where each value is associated with a specific SKU Id. Items with multiple,
SKU-specific values are called SKU enabled.
- The SKU Id of zero is reserved as a default. The valid SkuId range is 1 to 255.
+ The SKU Id of zero is reserved as a default.
For tokens that are not SKU enabled, the system ignores any set SKU Id and works with the
single value for that token. For SKU-enabled tokens, the system will use the SKU Id set by the
last call to SetSku(). If no SKU Id is set or the currently set SKU Id isn't valid for the specified token,
diff --git a/MdeModulePkg/Universal/PCD/Pei/Pcd.c b/MdeModulePkg/Universal/PCD/Pei/Pcd.c index 15f1924..4d0caed 100644 --- a/MdeModulePkg/Universal/PCD/Pei/Pcd.c +++ b/MdeModulePkg/Universal/PCD/Pei/Pcd.c @@ -1,7 +1,7 @@ /** @file
All Pcd Ppi services are implemented here.
-Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>
+Copyright (c) 2006 - 2016, 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
which accompanies this distribution. The full text of the license may be found at
@@ -239,7 +239,7 @@ PeiGetPcdInfoGetSku ( or multiple values, where each value is associated with a specific SKU Id. Items with multiple,
SKU-specific values are called SKU enabled.
- The SKU Id of zero is reserved as a default. The valid SkuId range is 1 to 255.
+ The SKU Id of zero is reserved as a default.
For tokens that are not SKU enabled, the system ignores any set SKU Id and works with the
single value for that token. For SKU-enabled tokens, the system will use the SKU Id set by the
last call to SetSku(). If no SKU Id is set or the currently set SKU Id isn't valid for the specified token,
|