There is absolutely no reason to artificially limit the SKU range to 1-255.
PI1.4a spec fixed the artificial limitation.

The patches are to follow PI1.4a spec to remove the sentence
"The valid SkuId range is 1 to 255." from SetSku function comments,
PCD_MAX_SKU_ID definition, the check to PCD_MAX_SKU_ID and the comments
describes the limitation.

Star Zeng (2):
  MdeModulePkg PCD: Follow PI1.4a to fix artificial limitation of SkuId
    range
  MdePkg: Follow PI1.4a to fix artificial limitation of SkuId range

 MdeModulePkg/Universal/PCD/Dxe/Pcd.c   |  6 +++---
 MdeModulePkg/Universal/PCD/Pei/Pcd.c   |  4 ++--
 MdePkg/Include/Library/PcdLib.h        |  7 +------
 MdePkg/Library/BasePcdLibNull/PcdLib.c |  6 +-----
 MdePkg/Library/DxePcdLib/DxePcdLib.c   | 14 ++------------
 MdePkg/Library/PeiPcdLib/PeiPcdLib.c   | 15 ++-------------
 6 files changed, 11 insertions(+), 41 deletions(-)

-- 
2.7.0.windows.1

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to